archlinux fix .service added twice in networking install script

This commit is contained in:
Olivier MEDOC 2017-11-20 16:58:26 +01:00
parent 0cd100b91a
commit 9345a29b7e

View File

@ -23,7 +23,7 @@ post_install() {
#fi #fi
for srv in qubes-firewall.service qubes-iptables.service qubes-network.service qubes-updates-proxy.service ; do for srv in qubes-firewall.service qubes-iptables.service qubes-network.service qubes-updates-proxy.service ; do
systemctl enable $srv.service systemctl enable $srv
done done
} }
@ -36,6 +36,6 @@ post_upgrade() {
## arg 1: the old package version ## arg 1: the old package version
post_remove() { post_remove() {
for srv in qubes-firewall.service qubes-iptables.service qubes-network.service qubes-updates-proxy.service ; do for srv in qubes-firewall.service qubes-iptables.service qubes-network.service qubes-updates-proxy.service ; do
systemctl disable $srv.service systemctl disable $srv
done done
} }