[SCM] Debian package of greed branch, master, updated. upstream/3.6-71-g9343827
Josue Abarca
jmaslibre at debian.org.gt
Wed Nov 16 15:47:55 UTC 2011
The following commit has been merged in the master branch:
commit 93438278dde3b8b7cc344a8c3f494f6b52afb610
Author: Josue Abarca <jmaslibre at debian.org.gt>
Date: Wed Nov 16 09:47:46 2011 -0600
Set the backup file's permissions according to Debian Policy 11.11
diff --git a/debian/postinst b/debian/postinst
index c1d3c7e..2978b15 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -29,6 +29,8 @@ case "$1" in
if [ -f $SCOREFILE ]; then
echo -n "Preserving user scores to $SCOREFILE.dpkg-old..."
mv -f "$SCOREFILE" "$SCOREFILE".dpkg-old
+ chown root:games "$SCOREFILE".dpkg-old
+ chmod 664 "$SCOREFILE".dpkg-old
echo "done."
fi
fi
diff --git a/debian/postrm b/debian/postrm
index 86303ff..df80e6d 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -40,6 +40,8 @@ case "$1" in
if [ -f $SCOREFILE ]; then
echo -n "Preserving user scores to $SCOREFILE.dpkg-new..."
mv -f "$SCOREFILE" "$SCOREFILE".dpkg-new
+ chown root:games "$SCOREFILE".dpkg-new
+ chmod 664 "$SCOREFILE".dpkg-new
echo "done."
fi
fi
--
Debian package of greed
More information about the Pkg-games-commits
mailing list