|
@ -39,7 +39,7 @@ debian) |
|
|
arch) |
|
|
arch) |
|
|
for i in "$@"; do |
|
|
for i in "$@"; do |
|
|
if ! pacman -Ql "$i" 2>/dev/null | grep -q ^ii; then |
|
|
if ! pacman -Ql "$i" 2>/dev/null | grep -q ^ii; then |
|
|
sudo pacman -S "$i" |
|
|
|
|
|
|
|
|
sudo pacman -Sy "$i" |
|
|
elif [ -n "${VERBOSE+x}" ] && $VERBOSE; then |
|
|
elif [ -n "${VERBOSE+x}" ] && $VERBOSE; then |
|
|
echo "pacman package <$i> already installed!" |
|
|
echo "pacman package <$i> already installed!" |
|
|
fi |
|
|
fi |
|
|