The following commit has been merged in the master branch: commit be0a4666be56d6301fe106c52f3f2d2c295748fb Author: Paul Wise <[EMAIL PROTECTED]> Date: Fri Jul 4 21:47:37 2008 +0800
Remove the old high score file on upgrade instead of purge diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..eba318a --- /dev/null +++ b/debian/TODO @@ -0,0 +1 @@ +Drop the removal of the old high score file in postinst after lenny is released. diff --git a/debian/changelog b/debian/changelog index 792db7c..eec83f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ xgalaga (2.1.1.0-3) UNRELEASED; urgency=low * Build-Depend on x11proto-core-dev instead of the dummy x-dev package * Add freedesktop menu files, tweaked from Ubuntu ones (Closes: #432398) * Use the uscan magic URL in the watch file for the QA sf.net redirector + * Remove the old high score file on upgrade instead of purge -- Paul Wise <[EMAIL PROTECTED]> Thu, 03 Jul 2008 00:41:47 +0800 diff --git a/debian/postrm b/debian/postinst similarity index 56% rename from debian/postrm rename to debian/postinst index afc9c46..065d082 100644 --- a/debian/postrm +++ b/debian/postinst @@ -2,8 +2,8 @@ OLDSCOREFILE=/var/games/xgalaga_scores -# Remove old high score file on purge. -if [ "$1" = "purge" ]; then +# Remove old high score file on upgrade. +if [ -f $OLDSCOREFILE ]; then rm -f $OLDSCOREFILE fi -- Packaging for Xgalaga _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits