1
0
Fork 0
mirror of synced 2024-11-22 18:15:37 -05:00
garuda-common-settings/usr/lib/setup-assistant/apply.sh

24 lines
558 B
Bash
Raw Normal View History

#!/bin/bash
if [ -e "/tmp/setup-assistant/prepare.sh" ]; then
echo "Running pre-installation stuff.."
echo ""
sudo sh /tmp/setup-assistant/prepare.sh
fi
cat /tmp/setup-assistant/pkgs.txt | sed '/^$/d;s/[[:blank:]]//g' > /tmp/setup-assistant/pkgs-install.txt
echo ""
echo "Installing packages.."
echo ""
sudo pacman --needed -S - < /tmp/setup-assistant/pkgs-install.txt
2020-11-18 05:57:48 -05:00
if [ -e "/tmp/setup-assistant/setup_root.sh" ]; then
echo ""
echo "Enabling services.."
echo ""
sh /tmp/setup-assistant/setup_root.sh
fi
echo ""
read -p "Press enter to finish"