Update uninstall.sh

Signed-off-by: Rob Gill <rrobgill@protonmail.com>>
This commit is contained in:
Rob Gill 2018-05-14 19:50:58 +10:00 committed by GitHub
parent 3d3e7a330c
commit 97809277df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@ removeNoPurge() {
# Restore resolved # Restore resolved
if [[ -e /etc/systemd/resolved.conf.orig ]]; then if [[ -e /etc/systemd/resolved.conf.orig ]]; then
systemctl disable systemd-resolved systemctl disable systemd-resolved
cp /etc/systemd/resolved.conf.orig /etc/systemd/resolved.conf ${SUDO} cp /etc/systemd/resolved.conf.orig /etc/systemd/resolved.conf
systemctl enable systemd-resolved systemctl enable systemd-resolved
fi fi