From a9d270eddc062c336c40e1ef8e2c732986222673 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 11:03:01 +0100 Subject: Removed some hard-coding. --- util/install_packages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/install_packages.sh') diff --git a/util/install_packages.sh b/util/install_packages.sh index 8515675..b56c145 100644 --- a/util/install_packages.sh +++ b/util/install_packages.sh @@ -18,8 +18,11 @@ # along with this program. If not, see . +desktop_wanted=$1 # e.g. "yes" + + pacstrap /mnt base linux linux-firmware dhcpcd nano sudo grub efibootmgr -if [ "$desktop" = "yes" ]; then +if [ "$desktop_wanted" = "yes" ]; then pacstrap /mnt xorg lightdm lightdm-gtk-greeter xfce4 mousepad fi -- cgit v1.2.3-70-g09d2