summaryrefslogtreecommitdiff
path: root/network/dropbear/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-05-21 08:21:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:23 +0700
commitd983f44f67a6763bb6c19abc2168e3adb12762d0 (patch)
tree0d6a8f340151c485555965bf5dcd110add8e1955 /network/dropbear/doinst.sh
parentebd90f22dc6bcbb7d7728422b5962dfad3a737f2 (diff)
downloadslackbuilds-d983f44f67a6763bb6c19abc2168e3adb12762d0.tar.gz
network/dropbear: Updated for version 2017.75, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dropbear/doinst.sh')
-rw-r--r--network/dropbear/doinst.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/dropbear/doinst.sh b/network/dropbear/doinst.sh
index 9e867318e5..0ab69ba9ff 100644
--- a/network/dropbear/doinst.sh
+++ b/network/dropbear/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...
@@ -25,12 +26,11 @@ if [ -e usr/bin/scp ]; then
mv usr/bin/scp usr/bin/scp.openssh
fi
-config etc/rc.d/rc.dropbear.new
preserve_perms etc/rc.d/rc.dropbear.new
+config etc/rc.d/rc.dropbear.new
# Create a logfile if one doesn't already exist
if [ ! -e var/log/dropbear.log ]; then
touch var/log/dropbear.log
chmod 600 var/log/dropbear.log
fi
-