From dda91ac220aeb48bf208c61df92982e91ec3e705 Mon Sep 17 00:00:00 2001 From: Matt C Date: Thu, 16 Sep 2021 16:04:00 -0400 Subject: [PATCH] Update continue.sh --- continue.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/continue.sh b/continue.sh index 9b0bc2a..c6aa707 100755 --- a/continue.sh +++ b/continue.sh @@ -87,17 +87,25 @@ if [[ "$INIT" == "openrc" ]]; then fi inf "Installing connman" -pacman -S connman-${INIT} connman-gtk +pacman -S --quiet --noconfirm connman-${INIT} connman-gtk 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 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 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 66-tree -ncE default 66-enable -t default connmand + 66-enable -t default dbus + 66-enable -t default elogind else err "No such init: ${INIT}" exit 1 @@ -267,13 +275,13 @@ if [[ "$MP" != "n" ]]; then prompt "Write package names" PKGNS="$response" inf "Installing: $PKGNS" - ame -S ${PKGNS} + pacman -S --noconfirm --quiet ${PKGNS} else prompt "URL to package list" SRC="$response" PKGS="$(curl ${SRC})" for PKG in PKGS; do - ame -S ${PKG} + pacman -S --quiet --noconfirm ${PKG} done fi fi @@ -282,4 +290,4 @@ inf "Installation complete" if [[ "$INIT" == "66" ]]; then err "Make sure to read https://wiki.artixlinux.org/Main/Installation at the very bottom for 66-specific post-install" -fi \ No newline at end of file +fi