diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2017-02-02 16:24:40 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-04 06:59:58 +0700 |
commit | 7687a1a841f50f726fafe50a11ba48eb917e5040 (patch) | |
tree | 9bd430085d2d57a7558a9ef765a2b83df9724d58 /network/kismet/doinst.sh | |
parent | 0d53d9df2e831254a3ce9e96fba147683928acbb (diff) |
network/kismet: Updated for version 2016_07_R1.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'network/kismet/doinst.sh')
-rw-r--r-- | network/kismet/doinst.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/kismet/doinst.sh b/network/kismet/doinst.sh index f9e45084c6462..19a6ff6ac8545 100644 --- a/network/kismet/doinst.sh +++ b/network/kismet/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... |