#!/bin/bash # $1 packagename NAME="NO PACKAGE, $1" if pacman -Qi $1 then exit 1 else exit 0 fi