Hyprland-dotfiles/.install/required.sh
Stephan Raabe 7bd765bb1c Updates
2024-06-27 11:25:35 +02:00

20 lines
569 B
Bash

# ------------------------------------------------------
# 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" "python" "git";
# 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