r1531 - vdr/vdr-plugin-dvd/trunk/debian

Thomas Schmidt tschmidt at costa.debian.org
Thu Dec 1 13:55:27 UTC 2005


Author: tschmidt
Date: 2005-12-01 13:55:27 +0000 (Thu, 01 Dec 2005)
New Revision: 1531

Added:
   vdr/vdr-plugin-dvd/trunk/debian/prerm
Removed:
   vdr/vdr-plugin-dvd/trunk/debian/postrm
Modified:
   vdr/vdr-plugin-dvd/trunk/debian/changelog
Log:
vdr-plugin-dvd: delete /var/cache/vdr/dvd in prerm, not postrm (closes: #340194)

Modified: vdr/vdr-plugin-dvd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/changelog	2005-11-29 22:34:11 UTC (rev 1530)
+++ vdr/vdr-plugin-dvd/trunk/debian/changelog	2005-12-01 13:55:27 UTC (rev 1531)
@@ -4,6 +4,8 @@
  
   * Thomas Schmidt <tschmidt at debian.org>
     - Build-Depend on vdr (>=1.3.37-1)
+    - Delete the link /var/cache/vdr/dvd in prerm when removing the 
+      package, not in postrm (closes: #340194)
 
  -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Mon, 28 Nov 2005 22:50:38 +0100
 

Deleted: vdr/vdr-plugin-dvd/trunk/debian/postrm
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/postrm	2005-11-29 22:34:11 UTC (rev 1530)
+++ vdr/vdr-plugin-dvd/trunk/debian/postrm	2005-12-01 13:55:27 UTC (rev 1531)
@@ -1,39 +0,0 @@
-#! /bin/sh
-# postrm script for vdr-plugin-#PACKAGE#
-#
-# 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
-    purge)
-        # Delete the dvd link when purging the package
-        rm -f /var/cache/vdr/dvd > /dev/null 2>&1 || true
-    ;;
-    remove|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

Added: vdr/vdr-plugin-dvd/trunk/debian/prerm
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/prerm	2005-11-29 22:34:11 UTC (rev 1530)
+++ vdr/vdr-plugin-dvd/trunk/debian/prerm	2005-12-01 13:55:27 UTC (rev 1531)
@@ -0,0 +1,42 @@
+#! /bin/sh
+# prerm script for vdr-plugin-dvd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove)
+        # Delete the dvd link when removing the package
+        rm -f /var/cache/vdr/dvd > /dev/null 2>&1 || true
+    ;;
+    upgrade|deconfigure)
+    ;;
+    failed-upgrade)
+    ;;
+    *)
+        echo "prerm 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
+
+




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