summaryrefslogtreecommitdiffstats
path: root/network/kismet/doinst.sh
diff options
context:
space:
mode:
author Audrius Kažukauskas2017-02-02 15:24:40 +0100
committer Willy Sudiarto Raharjo2017-02-04 00:59:58 +0100
commit7687a1a841f50f726fafe50a11ba48eb917e5040 (patch)
tree9bd430085d2d57a7558a9ef765a2b83df9724d58 /network/kismet/doinst.sh
parent0d53d9df2e831254a3ce9e96fba147683928acbb (diff)
downloadslackbuilds-7687a1a841f50f726fafe50a11ba48eb917e5040.tar.gz
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.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/kismet/doinst.sh b/network/kismet/doinst.sh
index f9e45084c6..19a6ff6ac8 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...