1
0
Fork 0
mirror of synced 2024-11-19 16:45:37 -05:00
garuda-common-settings/usr/lib/setup-assistant/apply.sh
TotallyNotElite 8f9abe237e Update setup-assistant
1. Much better UX, close button actually closes instead of assuming yes
2. Code improvements/refactor
3. Add gnome boxes
4. Probably a lot of other things I can't remember
2020-12-17 18:18:33 +01:00

22 lines
316 B
Bash
Executable file

#!/bin/bash
if [ -e "$1" ]; then
echo "Running pre-installation stuff.."
echo ""
sudo bash - <$1
fi
echo ""
echo "Installing packages.."
echo ""
sudo pacman --needed -S $(cat - <$2)
if [ -e "$3" ]; then
echo ""
echo "Enabling services.."
echo ""
sudo bash - <$3
fi
echo ""
read -p "Press enter to finish"