hyprland-dotfiles/.install/required.sh

21 lines
562 B
Bash
Raw Normal View History

2023-11-17 12:48:02 +00:00
# ------------------------------------------------------
2023-11-21 06:37:03 +00:00
# Check for required packages to run the installation
2023-11-17 12:48:02 +00:00
# ------------------------------------------------------
2023-11-25 15:53:12 +00:00
# Synchronize packages
sudo pacman -Sy
2023-11-21 20:19:51 +00:00
echo ""
2023-11-25 15:53:12 +00:00
# Check for required packages
echo ":: Checking that required packages for the installation are installed..."
2023-11-21 20:19:51 +00:00
_installPackagesPacman "rsync" "gum";
2023-11-25 15:53:12 +00:00
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
2023-11-21 20:19:51 +00:00
echo ""