r5524 - packages/trunk/bastet/debian

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


Author: ansgar-guest
Date: 2008-01-28 19:04:50 +0000 (Mon, 28 Jan 2008)
New Revision: 5524

Modified:
   packages/trunk/bastet/debian/preinst
Log:
preserve attributes for score file

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




More information about the Pkg-games-commits mailing list