From 39eac3ed88afa70f780acb75a5bf2bfb5e319de4 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 1 Nov 2020 07:52:36 -0600 Subject: [PATCH] suppress ps -c messages --- manage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage b/manage index 9f816fc..3a29ee2 100755 --- a/manage +++ b/manage @@ -49,7 +49,7 @@ if [ "$1" == 'install' ];then Pi-Apps will wait until that one finishes before installing $app." | yad --text-info \ --title="Waiting" --window-icon="${DIRECTORY}/icons/logo.png" --center --width=500 --height=100 \ --button=OK!"${DIRECTORY}/icons/check.png":0 --fontname=12 --timeout=10 --timeout-indicator=top - while ps -C install ;do sleep 1; done + while ps -C install &>/dev/null || ps -C install-32 &>/dev/null || ps -C install-64 &>/dev/null;do sleep 1; done fi #if already installed then ask for confirmation @@ -110,7 +110,7 @@ elif [ "$1" == 'uninstall' ];then 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 \ --button=OK!"${DIRECTORY}/icons/check.png":0 --fontname=12 --timeout=10 --timeout-indicator=top - while ps -C uninstall ;do sleep 1; done + while ps -C uninstall &>/dev/null;do sleep 1; done fi #if already uninstalled then ask for confirmation