hopefully fixed #1

dialog
Matt C 3 years ago
parent 39f9dd112e
commit baf516edbd

@ -39,7 +39,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
prompt "Preferred editor" prompt "Preferred editor"
PGRM="$response" PGRM="$response"
echo "PGRM=$response" echo "PGRM=$response"
if [[ -x "$(command -v ${PGRM})" ]]; then
inf "Checking if we have ${PGRM} already.."
which ${PGRM}
if [[ "$?" == "1" ]]; then
inf "Attempting to install ${PGRM}" inf "Attempting to install ${PGRM}"
pacman -Sy ${PGRM} --noconfirm pacman -Sy ${PGRM} --noconfirm
fi fi

Loading…
Cancel
Save