diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-12-22 14:04:22 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-12-22 14:04:22 +0400 |
commit | 43119ab759b4a22cca255f31bcdd9db265d687d8 (patch) | |
tree | df49248b00d990e9474c1950edeeef0ac695cff0 /debian/lighttpd.preinst | |
parent | b966ec346bebe34e1f50fb9cc46b9adf111ea73d (diff) | |
download | lighttpd-master.tar.gz |
lighttpd (1.4.33-2+dyson1) unstable; urgency=lowHEADdyson/1.4.33-2+dyson1master
[ Arno T�ll ]
* Make the init script wait until lighttpd really terminates.
[ Igor Pashev ]
* Package for Dyson
* Renamed SMF service to application/web/lighttpd
Diffstat (limited to 'debian/lighttpd.preinst')
-rw-r--r-- | debian/lighttpd.preinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/lighttpd.preinst b/debian/lighttpd.preinst index 8d0580f..23cac28 100644 --- a/debian/lighttpd.preinst +++ b/debian/lighttpd.preinst @@ -29,6 +29,13 @@ case "$1" in fi fi + + if dpkg --compare-versions "$2" le 1.4.32-1+dyson2; then + # Renaming SMF service: + if [ -x /usr/bin/smf_present ] && /usr/bin/smf_present ; then + svcadm -v disable -s svc:/network/lighttpd || true + fi + fi ;; abort-upgrade) |