From f5f0ab22e3b000e6d3117af5bf3833cb5e681f60 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 15 Aug 2024 12:22:35 +0300 Subject: [PATCH] pacman: remove excess quoting --- bash/usr-local-bin/pacman | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/usr-local-bin/pacman b/bash/usr-local-bin/pacman index 097fba8..fdfaf5c 100755 --- a/bash/usr-local-bin/pacman +++ b/bash/usr-local-bin/pacman @@ -6,16 +6,16 @@ export LC_ALL=en_DK.UTF-8 # if yay is installed and we aren't root, run it instead if [[ -f /usr/bin/yay && $(id -u) != 0 ]]; then if [[ "$1" == "-S" ]]; then - /usr/bin/yay --needed "$*" + /usr/bin/yay --needed $* else - /usr/bin/yay "$*" + /usr/bin/yay $* fi # otherwise attempt to run pacman, but keep the --needed for installs elif [[ -f /usr/bin/pacman ]]; then if [[ "$1" == "-S" ]]; then - /usr/bin/pacman --needed "$*" + /usr/bin/pacman --needed $* else - /usr/bin/pacman "$*" + /usr/bin/pacman $* fi # otherwise fail gracefully else