summaryrefslogtreecommitdiff
path: root/games/qtsixa/doinst.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-30 14:30:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 06:57:48 +0700
commit4f40a4c78945796b598a3e4c5583f40b68a3e4f4 (patch)
tree67e02fc4483ec64012f2e0b886eefea9e0d4f6d1 /games/qtsixa/doinst.sh
parentd6408a1a2a605a76ab255e437c2b4e1a8702d1b0 (diff)
downloadslackbuilds-4f40a4c78945796b598a3e4c5583f40b68a3e4f4.tar.gz
games/qtsixa: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/qtsixa/doinst.sh')
-rw-r--r--games/qtsixa/doinst.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/qtsixa/doinst.sh b/games/qtsixa/doinst.sh
index 1d5f2a2178..b7bc7f18fa 100644
--- a/games/qtsixa/doinst.sh
+++ b/games/qtsixa/doinst.sh
@@ -4,7 +4,8 @@ config() {
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...