From b7021341fae3b035c573096dc83fa2c3fdae1245 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Tue, 10 Aug 2021 10:04:19 -0300 Subject: [PATCH] Enable quiting after failed quiet command --- install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install.sh b/install.sh index ae79724..2cbe7fd 100755 --- a/install.sh +++ b/install.sh @@ -11,9 +11,7 @@ qpopd() { quiet() { local DUMMY - set +e DUMMY=$($@ 2>&1 > /dev/null) - set -e } @@ -169,9 +167,8 @@ install_base() { echo -n "Generating fstab..." fstabgen -U /mnt >> /mnt/etc/fstab echo "done" - elif [ "$DISTRO" = "arch" ]; then - quiet pacstrap /mnt base linux linux-firmware grub vi + quiet pacstrap /mnt base base-devel linux linux-firmware grub vi echo "done" echo -n "Generating fstab..." genfstab -U /mnt >> /mnt/etc/fstab