hypr-dotfiles/.install/required.sh

21 lines
571 B
Bash
Raw Normal View History

2024-03-01 12:33:39 +00:00
# ------------------------------------------------------
# Check for required packages to run the installation
# ------------------------------------------------------
# Synchronize packages
sudo pacman -Sy
echo ""
# Check for required packages
echo ":: Checking that required packages for the installation are installed..."
_installPackagesPacman "rsync" "gum" "figlet";
echo ""
# Double check rsync
if ! command -v rsync &> /dev/null; then
echo ":: Force rsync installation"
sudo pacman -S rsync --noconfirm
else
echo ":: rsync double checked"
fi
echo ""