LARBS/aurinstall.sh
2017-10-04 15:09:55 -07:00

19 lines
231 B
Bash

#!/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