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