bugfixes
This commit is contained in:
12
v2/arch.sh
12
v2/arch.sh
@@ -42,15 +42,9 @@ say_gray "DE: $DE, TWM: $TWM, Install Level: $INSTALL_LEVEL"
|
||||
##########################
|
||||
# Helper functions
|
||||
##########################
|
||||
install_packages() {
|
||||
local packages=("$@")
|
||||
sudo apt update
|
||||
sudo apt install -y --no-install-recommends "${packages[@]}"
|
||||
}
|
||||
|
||||
is_package_installed() {
|
||||
dpkg -s "$1" &>/dev/null
|
||||
}
|
||||
install_packages() { sudo pacman -S --noconfirm --needed "$@"; }
|
||||
remove_packages() { sudo pacman -Rs --noconfirm "$@"; }
|
||||
is_package_installed() { pacman -Qi "$@" &>/dev/null; }
|
||||
|
||||
##########################
|
||||
# 0. Ensure base is ready for installation
|
||||
|
||||
Reference in New Issue
Block a user