Merge branch 'upstream'

This commit is contained in:
Oliver Jowett 2016-07-10 14:58:49 +01:00
commit bf2b8efee6
10 changed files with 43 additions and 134 deletions

View file

@ -20,19 +20,20 @@ set -e
case "$1" in
remove)
echo "Disabling dump1090-fa lighttpd integration.." >&2
lighty-disable-mod dump1090-fa || echo "warning: failed to disable lighttpd module" >&2
invoke-rc.d lighttpd restart || echo "warning: failed to restart lighttpd" >&2
;;
purge)
rm -f /etc/default/dump1090-fa
rm -f /etc/cron.d/dump1090-fa
rm -rf /var/cache/dump1090-fa
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
remove)
if [ -e /etc/lighttpd/conf-enabled/89-dump1090.conf ]; then
echo "Disabling lighttpd integration.." >&2
lighty-disable-mod dump1090 || true
echo "Restarting lighttpd.." >&2
invoke-rc.d lighttpd restart || echo "Warning: lighttpd failed to restart." >&2
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)