base: disable 'abort on errors' in tor setup script

the 'set -e' prevents it from actually updating the config file and
restarting when a new conf file has different contents.
dev
alex 2 years ago
parent a605b757d0
commit ed0002926a
Signed by: x1ddos
GPG Key ID: 540189B756BF5B12

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
# the script installs tor and its config file from files/etc/tor/torrc. # the script installs tor and its config file from files/etc/tor/torrc.
set -e
xbps-install -y tor xbps-install -y tor
conffile=etc/tor/torrc conffile=etc/tor/torrc
test -f /$conffile && diff /$conffile files/$conffile test -f /$conffile && diff /$conffile files/$conffile

Loading…
Cancel
Save