properly fix issue with ame being ran as root

pull/3/head
amy 3 years ago
parent ac0e9eec2f
commit 586909b66b
No known key found for this signature in database
GPG Key ID: 6672E6DD65BEA50B

@ -444,13 +444,13 @@ if [[ "$MP" != "n" ]]; then
prompt "Write package names"
PKGNS="$response"
inf "Installing: $PKGNS"
arch-chroot /mnt su - ${UN} ame -S ${PKGNS}
arch-chroot /mnt su - ${UN} -c "ame -S ${PKGNS}"
else
prompt "URL to package list"
SRC="$response"
PKGS="$(curl ${SRC})"
for PKG in PKGS; do
arch-chroot /mnt su - ${UN} ame -S ${PKG}
arch-chroot /mnt su - ${UN} -c "ame -S ${PKG}"
done
fi
fi

Loading…
Cancel
Save