[Pkg-voip-commits] r5175 - in /zaptel/trunk/debian: changelog zaptel.postrm
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Tue Jan 29 11:34:22 UTC 2008
Author: tzafrir-guest
Date: Tue Jan 29 11:34:22 2008
New Revision: 5175
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5175
Log:
Delete old created files on purge (Closes: #454388).
Modified:
zaptel/trunk/debian/changelog
zaptel/trunk/debian/zaptel.postrm
Modified: zaptel/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/changelog?rev=5175&op=diff
==============================================================================
--- zaptel/trunk/debian/changelog (original)
+++ zaptel/trunk/debian/changelog Tue Jan 29 11:34:22 2008
@@ -13,8 +13,9 @@
* oslec_zaptel.dpatch: Add a compatibility function for the old
echo_can_create() of zaptel < 1.4.8 .
* Also copy the new wcte12xp/ to the source tarball.
-
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Mon, 28 Jan 2008 17:26:16 +0200
+ * Delete old created files on purge (Closes: #454388).
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Tue, 29 Jan 2008 13:32:11 +0200
zaptel (1:1.4.7.1~dfsg-1) unstable; urgency=low
Modified: zaptel/trunk/debian/zaptel.postrm
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/zaptel.postrm?rev=5175&op=diff
==============================================================================
--- zaptel/trunk/debian/zaptel.postrm (original)
+++ zaptel/trunk/debian/zaptel.postrm Tue Jan 29 11:34:22 2008
@@ -1,42 +1,11 @@
-#! /bin/sh
-# postrm script for zaptel
-#
-# see: dh_installdeb(1)
+#! /bin/sh -e
-set -e
+if [ "$1" = 'purge' ]; then
+ # leftovers from the Sarge:
+ rm -f /etc/modutils/zaptel /etc/udev/rules.d/zaptel.perms
-# 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|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-# if test -d /dev/zap/ ; then
-# rm -rf /dev/zap
-# fi
-
-
- ;;
-
- *)
- 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.
+ # leftovers from Etch:
+ rm -f /etc/zaptel.conf
+fi
#DEBHELPER#
-
-exit 0
More information about the Pkg-voip-commits
mailing list