remove /tmp/.openrc if systemd was chosen

This commit is contained in:
Chrysostomus 2017-02-10 08:00:40 +08:00
parent 946e384117
commit 857b8d6517

View File

@ -1555,6 +1555,7 @@ install_base() {
touch /tmp/.openrc touch /tmp/.openrc
cat /usr/share/aif/package-lists/base-openrc-manjaro > /tmp/.base cat /usr/share/aif/package-lists/base-openrc-manjaro > /tmp/.base
else else
[[ -e /tmp/.openrc ]] && rm /tmp/.openrc
cat /usr/share/aif/package-lists/base-systemd-manjaro > /tmp/.base cat /usr/share/aif/package-lists/base-systemd-manjaro > /tmp/.base
fi fi