[debian-edu-commits] debian-edu/pkg-team/ 01/01: debian/gosa.postinst: When figuring out whether it makes sense to restart Apache2, let's check for presence of apache2ctl binary (instead of apache2 binary). Nowadays, the Apache2 server can be considered installed when apache2ctl is present on a Debian system.
Mike Gabriel
sunweaver at debian.org
Thu Nov 12 04:43:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository gosa.
commit 91292fa8f983b5903b4114da8fc2b570169de58c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Nov 12 05:43:09 2015 +0100
debian/gosa.postinst: When figuring out whether it makes sense to restart Apache2, let's check for presence of apache2ctl binary (instead of apache2 binary). Nowadays, the Apache2 server can be considered installed when apache2ctl is present on a Debian system.
---
debian/gosa.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/gosa.postinst b/debian/gosa.postinst
index aa81b38..e3a5741 100755
--- a/debian/gosa.postinst
+++ b/debian/gosa.postinst
@@ -93,7 +93,7 @@ elif [ -d /etc/apache2/conf.d ]; then
fi
# Finally restart servers
- if [ -x /usr/sbin/apache2 ]; then
+ if [ -x /usr/sbin/apache2ctl ]; then
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d apache2 reload
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git
More information about the debian-edu-commits
mailing list