8f9abe237e
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
22 lines
316 B
Bash
Executable file
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"
|