summaryrefslogtreecommitdiff
path: root/util/install_packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/install_packages.sh')
-rw-r--r--util/install_packages.sh5
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