diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-12-15 11:03:01 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-12-15 11:03:01 +0100 |
commit | a9d270eddc062c336c40e1ef8e2c732986222673 (patch) | |
tree | 1f68137196293ec69e994872538bb09ab12329aa /util/install_packages.sh | |
parent | 9c3854fc72d16c7a819cd74e93dda56e6805cc21 (diff) | |
download | archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar.zst archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.zip |
Removed some hard-coding.
Diffstat (limited to 'util/install_packages.sh')
-rw-r--r-- | util/install_packages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>. +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 |