aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-09 22:55:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:51 +0700
commitea8fed553d4aaf1e91ccee11059e569e80f77775 (patch)
tree45fb075a2994603b95b2f82ea994c6742cff92a9 /network
parentf098bd5c9456370e00cea02c81eea27dc5958159 (diff)
network/hostsblock: Fixed doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/hostsblock/doinst.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/hostsblock/doinst.sh b/network/hostsblock/doinst.sh
index 1cdd2c6ca516c..e711ca29669cd 100644
--- a/network/hostsblock/doinst.sh
+++ b/network/hostsblock/doinst.sh
@@ -14,6 +14,6 @@ config() {
config etc/hostsblock/rc.conf.new
# backup existing /etc/hosts to /etc/hostsblock/hosts.head if it doesn't already exist
-if [ ! -r /etc/hostsblock/hosts.head ] ; then
- cp /etc/hosts /etc/hostsblock/hosts.head
+if [ ! -r etc/hostsblock/hosts.head ] ; then
+ cp etc/hosts etc/hostsblock/hosts.head
fi