[Pkg-nethack-devel] nethack/debian changelog,1.19,1.20 nethack-common.postinst,1.6,1.7 rules,1.7,1.8

Joshua Kwan joshk-guest@quantz.debian.org
Fri, 24 Oct 2003 18:44:11 +0000


Update of /cvsroot/pkg-nethack/nethack/debian
In directory quantz:/tmp/cvs-serv5105/debian

Modified Files:
	changelog nethack-common.postinst rules 
Log Message:
- Don't kill record and logfile on incompatible savegame upgrade
- Remove drop many from GNOME Action menu


Index: changelog
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/changelog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- changelog	23 Oct 2003 05:23:33 -0000	1.19
+++ changelog	24 Oct 2003 18:44:09 -0000	1.20
@@ -9,8 +9,13 @@
       so as not to deviate from upstream.
     - 16_pixmapdir.dpatch: move all pixmaps into /usr/share/pixmaps/nethack/
       and make all graphical nethacks work with this
+    - Keep logfile, record, and perm when backing up old save games,
+      because they are backwards-compatible with older versions.
+      (Closes: #141843)
+    - Remove the redundant 'Drop Many' entry from the GNOME Action menu.
+      (Closes: #154750)
 
- -- Joshua Kwan <joshk@triplehelix.org>  Fri, 17 Oct 2003 00:24:41 -0700
+ -- Joshua Kwan <joshk@triplehelix.org>  Fri, 24 Oct 2003 11:14:25 -0700
 
 nethack (3.4.2-2) unstable; urgency=low
 

Index: nethack-common.postinst
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/nethack-common.postinst,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- nethack-common.postinst	13 Oct 2003 20:35:01 -0000	1.6
+++ nethack-common.postinst	24 Oct 2003 18:44:09 -0000	1.7
@@ -66,14 +66,15 @@
                   tar czf $BACKUP $GAMEDIR > /dev/null 2>&1
                 fi
 
-                rm -rf $GAMEDIR/*
+                rm -rf $GAMEDIR/save/ $GAMEDIR/*.gz
               done
             
               echo "Don't forget to do something with these backup files!"
             fi
           ;;
           purge)
-            rm -rf $LOGDIR/* $OLDLOGDIR/* 
+            rm -rf $LOGDIR/save/ $LOGDIR/*.gz
+            rm -rf $OLDLOGDIR/save/ $OLDLOGDIR/*.gz
           ;;
           # Do nothing! This better happen...
           ignore)
@@ -91,6 +92,8 @@
     fi
     
     db_stop
+    
+    install -d /var/games/nethack/save -o root -g games -m 775
     
     for file in perm record logfile; do
       test -e /var/games/nethack/$file || install -m 0664 -o root -g games \

Index: rules
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/rules,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rules	23 Oct 2003 05:23:33 -0000	1.7
+++ rules	24 Oct 2003 18:44:09 -0000	1.8
@@ -115,11 +115,6 @@
 	-rm -f build-stamp build-x11-stamp build-gnome-stamp build-qt-stamp \
 	  build-common-stamp build-console-stamp build-lisp-stamp
 	-rm -f nh10.pcf
-	-rm -f `find . -name "*.orig"`
-	-rm -f `find . -name "*~"`
-	-rm -rf debian/files* core debian/substvars
-	-rm -rf debian/nethack-common debian/nethack-x11 debian/nethack-gnome \
-	  debian/nethack-qt debian/nethack-console debian/nethack-lisp
 	-rm -f debian/gnome/nethack debian/qt/nethack debian/x11/nethack \
 	  debian/console/nethack debian/lisp/nethack
 	-make spotless