Updates for rsync

This commit is contained in:
Stephan Raabe
2023-11-25 16:53:12 +01:00
parent 4a657c7f11
commit 49093fef5d
4 changed files with 40 additions and 2 deletions

View File

@@ -2,7 +2,20 @@
# Check for required packages to run the installation
# ------------------------------------------------------
echo "Checking that required packages for the installation are installed..."
# Synchronize packages
sudo pacman -Sy
echo ""
# Check for required packages
echo ":: Checking that required packages for the installation are installed..."
_installPackagesPacman "rsync" "gum";
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 ""