network/hostsblock: Fixed doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
f098bd5c94
commit
ea8fed553d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue