1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash # $1 packagename NAME="NO PACKAGE, $1" if pacman -Qi $1 then exit 1 else exit 0 fi