diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2009-09-01 21:22:55 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2009-09-01 21:22:55 +0000 |
commit | 345ace572edaade2b58f07e7356f189d3a0cdd1e (patch) | |
tree | bf1d75566bd84d0eef4f4906e613412f311672fe | |
parent | f5f6d16f5a7e20121b829e5d334ad3f6c5134876 (diff) | |
download | sitesummary-345ace572edaade2b58f07e7356f189d3a0cdd1e.tar.gz sitesummary-345ace572edaade2b58f07e7356f189d3a0cdd1e.tar.bz2 sitesummary-345ace572edaade2b58f07e7356f189d3a0cdd1e.tar.xz |
Add code to get rid of unwanted stop symlinks in runlevels 0, 1 and 6.
-rw-r--r-- | debian/sitesummary.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst index e720788..b013708 100644 --- a/debian/sitesummary.postinst +++ b/debian/sitesummary.postinst @@ -37,6 +37,11 @@ case "$1" in [ -f /var/lib/sitesummary/www/index.html ] || \ /etc/cron.daily/sitesummary + # Get rid of incorrect runlevel settings during upgrades + if dpkg --compare-versions "$2" lt "0.0.50"; then + update-rc.d -f sitesummary-client remove >/dev/null 2>&1 || : + fi + ;; abort-upgrade|abort-remove|abort-deconfigure) |