[gweled] 29/72: s/hard/timed/

Stephen Kitt skitt at moszumanska.debian.org
Thu May 26 16:55:44 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 281beba0adcaa1890901cc69516fa48d5f26a2ed
Author: Ondřej Surý <ondrej at sury.org>
Date:   Sun Jul 11 18:56:56 2010 +0200

    s/hard/timed/
---
 debian/postinst | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index a917207..55f25af 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -13,14 +13,18 @@ case "$1" in
 		rm /var/games/gweled.easy.scores;
 	    fi
 	fi
-	if [ -f /var/games/gweled.hard.scores ]; then
+	if [ -f /var/games/gweled.timed.scores ]; then
 	    if [ ! -f /var/games/gweled.Timed.scores ]; then
-		mv /var/games/gweled.hard.scores /var/games/gweled.Timed.scores;
+		mv /var/games/gweled.timed.scores /var/games/gweled.Timed.scores;
 	    else
-		rm /var/games/gweled.hard.scores;
+		rm /var/games/gweled.timed.scores;
 	    fi
 	fi
 
+	if [ -f /var/games/gweled.hard.scores ]; then
+	    rm /var/games/gweled.hard.scores;
+	fi
+
 	for scorefile in Normal Timed; do
 	    [ ! -f /var/games/gweled.${scorefile}.scores ] && \
 		touch /var/games/gweled.${scorefile}.scores;

-- 
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