bugfixes
This commit is contained in:
@@ -37,17 +37,9 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
##########################
|
||||
# Helper functions
|
||||
##########################
|
||||
install_packages() {
|
||||
sudo pacman -S --noconfirm --needed "$1"
|
||||
}
|
||||
|
||||
remove_packages() {
|
||||
sudo pacman -Rs --noconfirm "$1"
|
||||
}
|
||||
|
||||
is_package_installed() {
|
||||
pacman -Qi "$1" &>/dev/null
|
||||
}
|
||||
install_packages() { sudo pacman -S --noconfirm --needed "$@"; }
|
||||
remove_packages() { sudo pacman -Rs --noconfirm "$@"; }
|
||||
is_package_installed() { pacman -Qi "$@" &>/dev/null; }
|
||||
|
||||
detect_de() {
|
||||
if command -v xfce4-session >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user