r13790 - packages/trunk/nethack/debian

Vincent Cheng vincentc-guest at alioth.debian.org
Wed Sep 26 07:16:28 UTC 2012


Author: vincentc-guest
Date: 2012-09-26 07:16:27 +0000 (Wed, 26 Sep 2012)
New Revision: 13790

Modified:
   packages/trunk/nethack/debian/changelog
   packages/trunk/nethack/debian/nethack-console.prerm
   packages/trunk/nethack/debian/nethack-x11.prerm
Log:
nethack: Do not remove alternatives on upgrade


Modified: packages/trunk/nethack/debian/changelog
===================================================================
--- packages/trunk/nethack/debian/changelog	2012-09-19 17:34:40 UTC (rev 13789)
+++ packages/trunk/nethack/debian/changelog	2012-09-26 07:16:27 UTC (rev 13790)
@@ -1,3 +1,10 @@
+nethack (3.4.3-15) UNRELEASED; urgency=low
+
+  * Do not remove alternatives on upgrades.
+    (https://lists.debian.org/debian-devel/2012/09/msg00575.html)
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com>  Wed, 26 Sep 2012 00:10:43 -0700
+
 nethack (3.4.3-14) unstable; urgency=low
 
   * Team upload.

Modified: packages/trunk/nethack/debian/nethack-console.prerm
===================================================================
--- packages/trunk/nethack/debian/nethack-console.prerm	2012-09-19 17:34:40 UTC (rev 13789)
+++ packages/trunk/nethack/debian/nethack-console.prerm	2012-09-26 07:16:27 UTC (rev 13790)
@@ -2,6 +2,8 @@
 
 set -e
 
-update-alternatives --remove nethack /usr/lib/games/nethack/nethack-console.sh
+if [ "$1" = remove ]; then
+    update-alternatives --remove nethack /usr/lib/games/nethack/nethack-console.sh
+fi
 
 #DEBHELPER#

Modified: packages/trunk/nethack/debian/nethack-x11.prerm
===================================================================
--- packages/trunk/nethack/debian/nethack-x11.prerm	2012-09-19 17:34:40 UTC (rev 13789)
+++ packages/trunk/nethack/debian/nethack-x11.prerm	2012-09-26 07:16:27 UTC (rev 13790)
@@ -2,8 +2,9 @@
 
 set -e
 
-update-alternatives --remove nethack /usr/lib/games/nethack/nethack-x11.sh
+if [ "$1" = remove ]; then
+    update-alternatives --remove nethack /usr/lib/games/nethack/nethack-x11.sh
+    update-alternatives --remove nethack /usr/lib/games/nethack/nethack-x11-tty.sh
+fi
 
-update-alternatives --remove nethack /usr/lib/games/nethack/nethack-x11-tty.sh
-
 #DEBHELPER#




More information about the Pkg-games-commits mailing list