[hamradio-commits] [dump1090-mutability] 157/172: Don't call lighty-enable-mod with its full path
Matteo F. Vescovi
mfv at moszumanska.debian.org
Sun Jan 28 13:45:55 UTC 2018
This is an automated email from the git hooks/post-receive script.
mfv pushed a commit to branch master
in repository dump1090-mutability.
commit baa63fcb09de58bef91eb597f6f805ab6922f70c
Author: Raphael Geissert <atomo64 at gmail.com>
Date: Tue Aug 8 11:59:03 2017 -0400
Don't call lighty-enable-mod with its full path
---
debian/dump1090-mutability.postinst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/dump1090-mutability.postinst b/debian/dump1090-mutability.postinst
index 941a57d..7a5c55a 100644
--- a/debian/dump1090-mutability.postinst
+++ b/debian/dump1090-mutability.postinst
@@ -119,10 +119,10 @@ case "$1" in
# enable lighttpd if needed
db_get $NAME/use-lighttpd
- if [ "$RET" = "true" -a -x /usr/sbin/lighty-enable-mod ]
+ if [ "$RET" = "true" ] && which lighty-enable-mod >/dev/null
then
echo "Enabling lighttpd integration.." >&2
- /usr/sbin/lighty-enable-mod dump1090 || true
+ lighty-enable-mod dump1090 || true
fi
# this config file has changed a few times, restart lighttpd to make sure we
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git
More information about the pkg-hamradio-commits
mailing list