supporess ps -c

pull/61/head
Botspot 4 years ago
parent 000ee3d084
commit ece5768112

@ -105,7 +105,7 @@ elif [ "$1" == 'uninstall' ];then
error "${DIRECTORY}/apps/$app does not exist!"
fi
#ensure an uninstall script is not already running
if ps -C uninstall ;then
if ps -C uninstall &>/dev/null;then
echo "An uninstall script is already running.
Pi-Apps will wait until that one finishes before starting this one." | yad --text-info \
--title="Waiting" --window-icon="${DIRECTORY}/icons/logo.png" --center --width=500 --height=100 \

Loading…
Cancel
Save