[gweled] 31/72: Fix bashism and typo in debian/postrm

Stephen Kitt skitt at moszumanska.debian.org
Thu May 26 16:55:45 UTC 2016


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

skitt pushed a commit to branch debian-sid
in repository gweled.

commit a5b4cb6cae54adbe42cb58320ca0e59acc0fd758
Author: Ondřej Surý <ondrej at sury.org>
Date:   Sun Jul 11 19:02:54 2010 +0200

    Fix bashism and typo in debian/postrm
---
 debian/postrm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/postrm b/debian/postrm
index 2da5fce..6198efd 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -5,7 +5,9 @@ set -e
 
 case "$1" in
     purge)
-	rm -f /var/games/gweled.{easy,hard,Normal.Timed}.scores;
+	for scorefile in easy hard Normal Timed; do
+	    rm -f /var/games/gweled.${scorefile}.scores;
+	done
     ;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     ;;

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



More information about the Pkg-games-commits mailing list