From 586909b66beb94049b97c5a9c1f3e566e7859ce0 Mon Sep 17 00:00:00 2001 From: amy Date: Fri, 5 Nov 2021 18:52:08 +0100 Subject: [PATCH] properly fix issue with ame being ran as root --- citrine.internal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index d0951b3..c61d429 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -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