1
0
Fork 0
mirror of synced 2024-11-05 09:49:00 -05:00
garuda-common-settings/usr/lib/setup-assistant/apply.sh

23 lines
316 B
Bash
Raw Normal View History

#!/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"