diff options
Diffstat (limited to 'games/qtsixa/doinst.sh')
-rw-r--r-- | games/qtsixa/doinst.sh | 3 |
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... |