forked from extern/egroupware
fix syntax to get /etc/egroupdare/apache-univention.conf installed and used for Univention
This commit is contained in:
parent
a409b8b473
commit
cc1fafa9d4
@ -113,7 +113,7 @@ then
|
||||
else
|
||||
# use either apache.conf or apache-univention.conf for extra open_basedir
|
||||
apache_conf=apache.conf
|
||||
test -f /etc/lsb-release && grep -q '^DISTRIB_ID="*Univention"*$' && apache_conf=apache-univention.conf
|
||||
test -f /etc/lsb-release && grep -q '^DISTRIB_ID="*Univention"*$' /etc/lsb-release && apache_conf=apache-univention.conf
|
||||
|
||||
if [ -d /etc/apache2/conf.d ] ; then
|
||||
ln -fs ../../egroupware/$apache_conf /etc/apache2/conf.d/egroupware
|
||||
|
@ -43,7 +43,7 @@ install: build
|
||||
mkdir -p $(CURDIR)/debian/egroupware-epl-core/etc/egroupware
|
||||
cp $(CURDIR)/doc/rpm-build/apache.conf $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache.conf
|
||||
# Univention needs access to /usr/sbin/univention-directory-manager symlinked to /usr/share/univention-directory-manager-tools/directory-manager-cli
|
||||
sed 's|\(open_basedir .*\)$|\1:/usr/sbin/univention-directory-manager:/usr/share/univention-directory-manager-tools/directory-manager-cli|' \
|
||||
sed 's|\(open_basedir .*\)|\1:/usr/sbin/univention-directory-manager:/usr/share/univention-directory-manager-tools/directory-manager-cli|' \
|
||||
$(CURDIR)/doc/rpm-build/apache.conf > $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/apache-univention.conf
|
||||
cp $(CURDIR)/doc/rpm-build/nginx.conf $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/nginx.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user