diff --git a/doc/rpm-build/debian.postinst b/doc/rpm-build/debian.postinst index f11d5face7..228c4af2d3 100644 --- a/doc/rpm-build/debian.postinst +++ b/doc/rpm-build/debian.postinst @@ -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 diff --git a/doc/rpm-build/debian.rules b/doc/rpm-build/debian.rules index 1ad7467d87..21da5d9dd9 100644 --- a/doc/rpm-build/debian.rules +++ b/doc/rpm-build/debian.rules @@ -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