fix issue with ame being ran as root

pull/3/head
amy 3 years ago
parent 70551e5405
commit ac0e9eec2f
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 ame -S ${PKGNS}
arch-chroot /mnt su - ${UN} ame -S ${PKGNS}
else
prompt "URL to package list"
SRC="$response"
PKGS="$(curl ${SRC})"
for PKG in PKGS; do
arch-chroot /mnt ame -S ${PKG}
arch-chroot /mnt su - ${UN} ame -S ${PKG}
done
fi
fi

Loading…
Cancel
Save