[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#704849: t-p-u: tucnak2/2.47-2+deb7u1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please approve a t-p-u upload of package tucnak2

Removing tucnak2 does not properly unregister the alternative it had
registered during postinst configure.
(prerm tries to unregister the generic name instead of the alternative
path providing it.)

sid has a new upstream version that FTBFS due to insufficient B-D,
so this has to go via t-p-u.

(This is the last package in wheezy not properly cleaning up
alternatives that are created during install in wheezy.)


Andreas

unblock tucnak2/2.47-2+deb7u1
diff -u tucnak2-2.47/debian/prerm tucnak2-2.47/debian/prerm
--- tucnak2-2.47/debian/prerm
+++ tucnak2-2.47/debian/prerm
@@ -1,12 +1,8 @@
 #!/bin/sh
-
 set -e
 
-case "$1" in
-    remove|deconfigure)
-        update-alternatives --quiet --remove tucnak /usr/bin/tucnak2
-        ;;
-    *)
-esac
+if [ "$1" = "remove" ] ; then
+	update-alternatives --remove tucnak /usr/bin/tucnak
+fi
 
 #DEBHELPER#
diff -u tucnak2-2.47/debian/changelog tucnak2-2.47/debian/changelog
--- tucnak2-2.47/debian/changelog
+++ tucnak2-2.47/debian/changelog
@@ -1,3 +1,10 @@
+tucnak2 (2.47-2+deb7u1) testing; urgency=low
+
+  * Non-maintainer upload.
+  * Remove the correct alternative upon package removal.  (Closes: #668442)
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 06 Apr 2013 18:39:42 +0200
+
 tucnak2 (2.47-2) unstable; urgency=low
 
   * Fixed the update-alternatives.

Reply to: