This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch quake
in repository game-data-packager.

commit 3dfc592ff75901d4d79bf56394e5eacd21457b1c
Author: Simon McVittie <s...@debian.org>
Date:   Sat Jun 23 14:07:56 2012 +0100

    During purge of quake3-server, delete files owned by Debian-quake3 before 
deleting the user itself
---
 debian/changelog            | 2 ++
 debian/quake3-server.postrm | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c13aa66..3f32a8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ quake3 (1.4) UNRELEASED; urgency=low
   * Add a Description to the init script
   * Run a server from the quake3-server package by default (as per Policy),
     unless this is an upgrade from 1.3 or older
+  * During purge of quake3-server, delete files owned by Debian-quake3 before
+    deleting the user itself
 
  -- Simon McVittie <s...@debian.org>  Sat, 23 Jun 2012 00:34:40 +0100
 
diff --git a/debian/quake3-server.postrm b/debian/quake3-server.postrm
index 1103889..e78c872 100644
--- a/debian/quake3-server.postrm
+++ b/debian/quake3-server.postrm
@@ -5,7 +5,7 @@ set -e
 #DEBHELPER#
 
 if [ "$1" = "purge" ] ; then
-    deluser --quiet --system Debian-quake3 > /dev/null || true
     rm -r /var/games/quake3-server
     rmdir --ignore-fail-on-non-empty /var/games
+    deluser --quiet --system Debian-quake3 > /dev/null || true
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to