r4549 - vdr/vdr-plugin-dvd/trunk/debian

Tobias Grimm tiber-guest at alioth.debian.org
Sun May 6 17:31:45 UTC 2007


Author: tiber-guest
Date: 2007-05-06 17:31:45 +0000 (Sun, 06 May 2007)
New Revision: 4549

Removed:
   vdr/vdr-plugin-dvd/trunk/debian/postrm
Modified:
   vdr/vdr-plugin-dvd/trunk/debian/postinst
   vdr/vdr-plugin-dvd/trunk/debian/prerm
Log:
adapted for new vdr-groups.sh

Modified: vdr/vdr-plugin-dvd/trunk/debian/postinst
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/postinst	2007-05-06 11:02:37 UTC (rev 4548)
+++ vdr/vdr-plugin-dvd/trunk/debian/postinst	2007-05-06 17:31:45 UTC (rev 4549)
@@ -15,7 +15,7 @@
         fi
 
         # Make vdr a member of the groups required by the plugin
-        /bin/sh /usr/share/vdr/vdr-groups.sh --add vdr-plugin-dvd
+        /bin/sh /usr/lib/vdr/vdr-groups.sh --add vdr-plugin-dvd
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;

Deleted: vdr/vdr-plugin-dvd/trunk/debian/postrm
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/postrm	2007-05-06 11:02:37 UTC (rev 4548)
+++ vdr/vdr-plugin-dvd/trunk/debian/postrm	2007-05-06 17:31:45 UTC (rev 4549)
@@ -1,40 +0,0 @@
-#! /bin/sh
-# postrm script for vdr-plugin-dvd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove)
-        # remove vdr from the groups required by this plugin, if no other
-        # packages needs vdr to be a member in these groups
-        /bin/sh /usr/share/vdr/vdr-groups.sh --remove vdr-plugin-dvd
-    ;;
-    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-    ;;
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Modified: vdr/vdr-plugin-dvd/trunk/debian/prerm
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/prerm	2007-05-06 11:02:37 UTC (rev 4548)
+++ vdr/vdr-plugin-dvd/trunk/debian/prerm	2007-05-06 17:31:45 UTC (rev 4549)
@@ -21,6 +21,10 @@
     remove)
         # Delete the dvd link when removing the package
         rm -f /var/cache/vdr/dvd > /dev/null 2>&1 || true
+
+        # remove vdr from the groups required by this plugin, if no other
+        # packages need vdr to be a member in these groups
+        /bin/sh /usr/lib/vdr/vdr-groups.sh --remove vdr-plugin-dvd
     ;;
     upgrade|deconfigure)
     ;;




More information about the pkg-vdr-dvb-changes mailing list