All pastes #57831 Raw Edit

dswaintopngtr

public shellscript v1 · immutable
#57831 ·published 2006-05-22 01:13 UTC
rendered paste body
function install {echo "What package would you like to install?"read PACKAGEif [ "$PACKAGE" = "" ]; thenecho "no package specifed"echo "Press enter to continue"readelseecho "Installing package now"echopacman -S $PACKAGEif [ "$?" != "0" ]; then        clear        echo "Error: Package Not Found"        installfiechoecho "Package Installed"echo "Press enter to continue"readfi}