20 lines
563 B
Bash
Raw Normal View History

2023-11-17 13:48:02 +01:00
# ------------------------------------------------------
2023-11-21 07:37:03 +01:00
# Check for required packages to run the installation
2023-11-17 13:48:02 +01:00
# ------------------------------------------------------
2023-11-25 16:53:12 +01:00
# Synchronize packages
sudo pacman -Sy
2024-03-29 13:08:22 +01:00
echo
2023-11-25 16:53:12 +01:00
# Check for required packages
2024-03-29 13:08:22 +01:00
echo "Checking that required packages for the installation are installed..."
2024-03-07 15:51:34 +01:00
_installPackagesPacman "rsync" "gum" "figlet" "python";
2023-11-25 16:53:12 +01:00
# 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
2024-03-29 13:08:22 +01:00
echo