[SCM] mediatomb/master: Force removal of old /etc/init.d/mediatomb scripts. Fixes #577619

raboof-guest at users.alioth.debian.org raboof-guest at users.alioth.debian.org
Sun Jul 10 15:26:34 UTC 2011


The following commit has been merged in the master branch:
commit 196ab9174d5d7280c5ce88cfea2ed06ad7194ba2
Author: Arnout Engelen <arnouten at bzzt.net>
Date:   Sun Jul 10 17:25:52 2011 +0200

    Force removal of old /etc/init.d/mediatomb scripts. Fixes #577619

diff --git a/debian/mediatomb-daemon.postinst b/debian/mediatomb-daemon.postinst
index 72e71cc..4643480 100644
--- a/debian/mediatomb-daemon.postinst
+++ b/debian/mediatomb-daemon.postinst
@@ -55,7 +55,7 @@ configure)
 
     # Force removal of previous scripts if upgrading from 0.11.0-3
     if [ -n "$2" ] && dpkg --compare-versions "$2" le "0.11.0-3"; then
-        update-rc.d mediatomb remove >/dev/null || exit $?
+        update-rc.d -f mediatomb remove >/dev/null || exit $?
     fi
     if [ -n "$2" ] && dpkg --compare-versions "$2" le "0.12.0~svn2018-1"; then
         mv_db

-- 
MediaTomb packaging



More information about the pkg-multimedia-commits mailing list