Hyprland-dotfiles/.install/required.sh

21 lines
571 B
Bash
Raw Normal View History

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
2023-11-21 15:19:51 -05:00
echo ""
2023-11-25 10:53:12 -05:00
# Check for required packages
echo ":: Checking that required packages for the installation are installed..."
2023-12-21 15:57:44 -05:00
_installPackagesPacman "rsync" "gum" "figlet";
2023-11-25 10:53:12 -05: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 15:19:51 -05:00
echo ""