[Pkg-nagios-changes] [pkg-icinga2] 01/01: Just to be safe, use -e to check for the old apache configfile.
Alexander Wirt
formorer at debian.org
Sun Nov 23 19:31:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-icinga2.
commit d60552249cb8223b473e733e02e8074f8fc143a5
Author: Alexander Wirt <formorer at debian.org>
Date: Sun Nov 23 20:30:23 2014 +0100
Just to be safe, use -e to check for the old apache configfile.
Closes: #770743
---
debian/icinga2-classicui.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/icinga2-classicui.postinst b/debian/icinga2-classicui.postinst
index d89865d..2bc740b 100644
--- a/debian/icinga2-classicui.postinst
+++ b/debian/icinga2-classicui.postinst
@@ -78,7 +78,7 @@ case "$1" in
elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
a2enmod cgi
# create symlink if not existing
- [ -L /etc/apache2/conf.d/icinga2-classicui.conf ] || ln -vs $en/apache2.conf /etc/apache2/conf.d/icinga2-classicui.conf
+ [ -e /etc/apache2/conf.d/icinga2-classicui.conf ] || ln -vs $en/apache2.conf /etc/apache2/conf.d/icinga2-classicui.conf
# reload webserver
[ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list