r5522 - packages/trunk/bastet/debian

Ansgar Burchardt ansgar-guest at alioth.debian.org
Mon Jan 28 15:37:04 UTC 2008


Author: ansgar-guest
Date: 2008-01-28 15:37:04 +0000 (Mon, 28 Jan 2008)
New Revision: 5522

Modified:
   packages/trunk/bastet/debian/changelog
   packages/trunk/bastet/debian/postinst
   packages/trunk/bastet/debian/preinst
   packages/trunk/bastet/debian/rules
Log:
* only save highscores if old version is 0.41-5 or older\n* Remove Homepage reference from long description\n* Remove redundant -Wall from DEPCFLAGS

Modified: packages/trunk/bastet/debian/changelog
===================================================================
--- packages/trunk/bastet/debian/changelog	2008-01-28 15:01:22 UTC (rev 5521)
+++ packages/trunk/bastet/debian/changelog	2008-01-28 15:37:04 UTC (rev 5522)
@@ -3,20 +3,19 @@
   [ Eddy Petrișor ]
   * added missing encoding field in the desktop file
 
-  [ Cyril Brulebois ]
-  * Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file.
-
   [ Barry deFreese ]
   * Fix up desktop file (Encoding is deprecated now)
   * Add watch file
   * Add Homepage field in control section
 
   [ Ansgar Burchardt ]
+  * Added Vcs-Svn and Vcs-Browser fields in the control file.
   * Don't distribute score file, create in postinst instead (Closes: #461626).
-  * Update Debian Stanards version to 3.7.3
-  * Rename XS-Vcs-Svn and XS-Vcs-Browser fields to Vcs-Svn and Vcs-Browser
+  * Update Debian Standards version to 3.7.3
+  * Remove Homepage reference from long description
+  * Remove redundant -Wall from DEPCFLAGS
 
- -- Ansgar Burchardt <ansgar at 43-1.org>  Sun, 27 Jan 2008 17:24:40 +0100
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Mon, 28 Jan 2008 16:25:16 +0100
 
 bastet (0.41-5) unstable; urgency=low
 

Modified: packages/trunk/bastet/debian/postinst
===================================================================
--- packages/trunk/bastet/debian/postinst	2008-01-28 15:01:22 UTC (rev 5521)
+++ packages/trunk/bastet/debian/postinst	2008-01-28 15:37:04 UTC (rev 5522)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# postrm script for bastet
+# postinst script for bastet
 
 set -e
 
@@ -7,7 +7,7 @@
 
 # old version of bastet (<= 0.41-5) will remove high score file
 # on upgrade, so rescue it
-if [ -e "$scores.tmp" ] ; then
+if $(dpkg --compare-versions "$2" le-nl 0.41-5) && [ -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:01:22 UTC (rev 5521)
+++ packages/trunk/bastet/debian/preinst	2008-01-28 15:37:04 UTC (rev 5522)
@@ -9,7 +9,7 @@
   install|upgrade)
     # old version of bastet (<= 0.41-5) will remove high score file
     # on upgrade, so rescue it
-    if [ -e "$scores" ] ; then
+    if $(dpkg --compare-versions "$2" le-nl 0.41-5) && [ -e "$scores" ] ; then
       cp "$scores" "$scores.tmp"
     fi
   ;;

Modified: packages/trunk/bastet/debian/rules
===================================================================
--- packages/trunk/bastet/debian/rules	2008-01-28 15:01:22 UTC (rev 5521)
+++ packages/trunk/bastet/debian/rules	2008-01-28 15:37:04 UTC (rev 5522)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEBCFLAGS = -Wall -g
+DEBCFLAGS = -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	DEBCFLAGS += -O0




More information about the Pkg-games-commits mailing list