mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
fix syntax to get /etc/egroupdare/apache-univention.conf installed and used for Univention
This commit is contained in:
parent
0d7dd5b2fd
commit
bddae67d7a
@ -113,7 +113,7 @@ then
|
|||||||
else
|
else
|
||||||
# use either apache.conf or apache-univention.conf for extra open_basedir
|
# use either apache.conf or apache-univention.conf for extra open_basedir
|
||||||
apache_conf=apache.conf
|
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
|
if [ -d /etc/apache2/conf.d ] ; then
|
||||||
ln -fs ../../egroupware/$apache_conf /etc/apache2/conf.d/egroupware
|
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
|
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
|
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
|
# 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
|
$(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
|
cp $(CURDIR)/doc/rpm-build/nginx.conf $(CURDIR)/debian/egroupware-epl-core/etc/egroupware/nginx.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user