[SCM] tsdecrypt/master: Don't remove the alternative on 'prerm deconfigure' to preserve user configuration.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Apr 16 22:27:01 UTC 2012


The following commit has been merged in the master branch:
commit a5c16951454244879749336f37dd1bf5c8b88149
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Apr 16 18:52:40 2012 +0200

    Don't remove the alternative on 'prerm deconfigure' to preserve user configuration.

diff --git a/debian/tsdecrypt.prerm b/debian/tsdecrypt.prerm
index ae4e279..0e73b25 100644
--- a/debian/tsdecrypt.prerm
+++ b/debian/tsdecrypt.prerm
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
+if [ "$1" = "remove" ] ; then
     update-alternatives --remove tsdecrypt /usr/bin/tsdecrypt
 fi
 

-- 
tsdecrypt packaging



More information about the pkg-multimedia-commits mailing list