[SCM] Mumudvb packaging branch, master, updated. debian/1.5.4-1-196-g244c6f6
Stephane Glondu
steph at glondu.net
Sun Sep 20 22:29:35 UTC 2009
The following commit has been merged in the master branch:
commit eef1a47dbcfd61b450ef887e55228942e65e20ee
Author: Stephane Glondu <steph at glondu.net>
Date: Mon Sep 21 00:12:40 2009 +0200
Fix runlevel symlinks in postinst (see #547215)
diff --git a/debian/mumudvb.postinst b/debian/mumudvb.postinst
index 93187f1..3d7fe1d 100644
--- a/debian/mumudvb.postinst
+++ b/debian/mumudvb.postinst
@@ -38,6 +38,15 @@ case "$1" in
;;
esac
+# Those using dependency based boot sequencing with sysv-rc and
+# installing mumudvb using version 1.5.4-1 and earlier would have the
+# wrong runlevel symlinks. Recover from this.
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1.5.4-1" \
+ && [ -f /etc/rcS.d/S[0-9][0-9]mumudvb ] && [ ! -f /etc/rc2.d/S[0-9][0-9]mumudvb ]
+then
+ update-rc.d -f mumudvb remove
+fi
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
--
Mumudvb packaging
More information about the pkg-vdr-dvb-changes
mailing list