LARBS/aurinstall.sh

19 lines
231 B
Bash
Raw Normal View History

2017-10-05 00:09:55 +02:00
#!/bin/bash
qm=$(pacman -Qm | awk '{print $1}')
instcheck() {
if [[ $qm = *"$1"* ]]; then
echo $1 already installed.
else
aurinstall $1
fi
}
instcheck $1
#for prog in "$@"
#do
#(pacman -Qm | grep $prog ) || echo "not"
#done