[Pkg-nethack-devel] nethack/debian nethack-common.postinst,1.7,1.8 nethack-common.templates,1.3,1.4

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


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

Modified Files:
	nethack-common.postinst nethack-common.templates 
Log Message:
Purging your save files removes the highscore records too.


Index: nethack-common.templates
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/nethack-common.templates,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- nethack-common.templates	13 Oct 2003 18:55:46 -0000	1.3
+++ nethack-common.templates	24 Oct 2003 23:40:09 -0000	1.4
@@ -6,7 +6,8 @@
  You are upgrading from a version of NetHack whose save files are not
  compatible with the version you are upgrading to. You may either have them
  backed up into /tmp, purge them, ignore this problem completely, or abort
- this installation and manually handle NetHack's save files.
+ this installation and manually handle NetHack's save files. Your score files
+ will be lost if you choose to purge.
  .
  If you choose to back up, the files will be backed up into a
  gzip-compressed tar archive in /tmp with a random name starting

Index: nethack-common.postinst
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/nethack-common.postinst,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- nethack-common.postinst	24 Oct 2003 18:44:09 -0000	1.7
+++ nethack-common.postinst	24 Oct 2003 23:40:09 -0000	1.8
@@ -73,8 +73,7 @@
             fi
           ;;
           purge)
-            rm -rf $LOGDIR/save/ $LOGDIR/*.gz
-            rm -rf $OLDLOGDIR/save/ $OLDLOGDIR/*.gz
+            rm -rf $LOGDIR $OLDLOGDIR
           ;;
           # Do nothing! This better happen...
           ignore)