This commit is contained in:
[yuri]
2025-11-11 17:00:15 +01:00
parent e667320309
commit e4b415462d
3 changed files with 9 additions and 23 deletions

View File

@@ -37,9 +37,9 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
##########################
# Helper functions
##########################
install_packages() { sudo pacman -Sy; sudo pacman -S --noconfirm --needed "$1"; }
is_package_installed() { pacman -Qi "$1" &>/dev/null; }
remove_packages() { sudo pacman -Rs --noconfirm "$1"; }
install_packages() { sudo pacman -Sy; sudo pacman -S --noconfirm --needed "$@"; }
is_package_installed() { pacman -Qi "$@" &>/dev/null; }
remove_packages() { sudo pacman -Rs --noconfirm "$@"; }
say_yellow "Starting minimal setup..."