Hyprland-dotfiles/.install/required.sh

20 lines
563 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
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-03-07 09:51:34 -05:00
_installPackagesPacman "rsync" "gum" "figlet" "python";
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