Author: ansgar-guest
Date: 2008-01-28 15:53:03 +0000 (Mon, 28 Jan 2008)
New Revision: 5523

Modified:
   packages/trunk/bastet/debian/postinst
   packages/trunk/bastet/debian/preinst
Log:
use '<< 0.41-6' instead of '<= 0.41-5' in maintainer scripts to handle possible 
NMUs

Modified: packages/trunk/bastet/debian/postinst
===================================================================
--- packages/trunk/bastet/debian/postinst       2008-01-28 15:37:04 UTC (rev 
5522)
+++ packages/trunk/bastet/debian/postinst       2008-01-28 15:53:03 UTC (rev 
5523)
@@ -7,7 +7,7 @@
 
 # old version of bastet (<= 0.41-5) will remove high score file
 # on upgrade, so rescue it
-if $(dpkg --compare-versions "$2" le-nl 0.41-5) && [ -e "$scores.tmp" ] ; then
+if $(dpkg --compare-versions "$2" lt-nl 0.41-6) && [ -e "$scores.tmp" ] ; then
   mv "$scores.tmp" "$scores"
 fi
 if [ ! -e "$scores" ] ; then

Modified: packages/trunk/bastet/debian/preinst
===================================================================
--- packages/trunk/bastet/debian/preinst        2008-01-28 15:37:04 UTC (rev 
5522)
+++ packages/trunk/bastet/debian/preinst        2008-01-28 15:53:03 UTC (rev 
5523)
@@ -9,7 +9,7 @@
   install|upgrade)
     # old version of bastet (<= 0.41-5) will remove high score file
     # on upgrade, so rescue it
-    if $(dpkg --compare-versions "$2" le-nl 0.41-5) && [ -e "$scores" ] ; then
+    if $(dpkg --compare-versions "$2" lt-nl 0.41-6) && [ -e "$scores" ] ; then
       cp "$scores" "$scores.tmp"
     fi
   ;;


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to