Update continue.sh

artix
Matt C 3 years ago committed by GitHub
parent fbf492ff62
commit dda91ac220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,17 +87,25 @@ if [[ "$INIT" == "openrc" ]]; then
fi fi
inf "Installing connman" inf "Installing connman"
pacman -S connman-${INIT} connman-gtk pacman -S --quiet --noconfirm connman-${INIT} connman-gtk
if [[ "$INIT" == "openrc" ]]; then if [[ "$INIT" == "openrc" ]]; then
rc-update add connmand rc-update add connmand default
rc-update add dbus default
rc-update add elogind default
elif [[ "$INIT" == "runit" ]]; then elif [[ "$INIT" == "runit" ]]; then
ln -s /etc/runit/sv/connmand /etc/runit/runsvdir/default ln -s /etc/runit/sv/connmand /etc/runit/runsvdir/default
ln -s /etc/runit/sv/dbus /etc/runit/runsvdir/default
ln -s /etc/runit/sv/elogind /etc/runit/runsvdir/default
elif [[ "$INIT" == "s6" ]]; then elif [[ "$INIT" == "s6" ]]; then
s6-rc-bundle-update -c /etc/s6/rc/compiled add default connmand s6-rc-bundle-update -c /etc/s6/rc/compiled add default connmand
s6-rc-bundle-update -c /etc/s6/rc/compiled add default dbus
s6-rc-bundle-update -c /etc/s6/rc/compiled add default elogind
elif [[ "$INIT" == "66" ]]; then elif [[ "$INIT" == "66" ]]; then
66-tree -ncE default 66-tree -ncE default
66-enable -t default connmand 66-enable -t default connmand
66-enable -t default dbus
66-enable -t default elogind
else else
err "No such init: ${INIT}" err "No such init: ${INIT}"
exit 1 exit 1
@ -267,13 +275,13 @@ if [[ "$MP" != "n" ]]; then
prompt "Write package names" prompt "Write package names"
PKGNS="$response" PKGNS="$response"
inf "Installing: $PKGNS" inf "Installing: $PKGNS"
ame -S ${PKGNS} pacman -S --noconfirm --quiet ${PKGNS}
else else
prompt "URL to package list" prompt "URL to package list"
SRC="$response" SRC="$response"
PKGS="$(curl ${SRC})" PKGS="$(curl ${SRC})"
for PKG in PKGS; do for PKG in PKGS; do
ame -S ${PKG} pacman -S --quiet --noconfirm ${PKG}
done done
fi fi
fi fi
@ -282,4 +290,4 @@ inf "Installation complete"
if [[ "$INIT" == "66" ]]; then if [[ "$INIT" == "66" ]]; then
err "Make sure to read https://wiki.artixlinux.org/Main/Installation at the very bottom for 66-specific post-install" err "Make sure to read https://wiki.artixlinux.org/Main/Installation at the very bottom for 66-specific post-install"
fi fi

Loading…
Cancel
Save