From cd86eaeec6dfa2c2de44756724a449221dfa92b3 Mon Sep 17 00:00:00 2001 From: Botspot Date: Thu, 29 Oct 2020 22:00:31 -0500 Subject: [PATCH] display script name when installing app --- manage | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manage b/manage index 135834c..0482f2c 100755 --- a/manage +++ b/manage @@ -63,15 +63,18 @@ Pi-Apps will wait until that one finishes before installing $2." | yad --text-in #determine which script to run if [ -f "${DIRECTORY}/apps/${2}/install-32" ] && [ $arch == 32 ];then installscript="${DIRECTORY}/apps/${2}/install-32" + scriptname='install-32' elif [ -f "${DIRECTORY}/apps/${2}/install-64" ] && [ $arch == 64 ];then installscript="${DIRECTORY}/apps/${2}/install-64" + scriptname='install-64' elif [ -f "${DIRECTORY}/apps/${2}/install" ];then installscript="${DIRECTORY}/apps/${2}/install" + scriptname='install' else error "It appears $2 does not have an install-${arch} script suitable for your ${arch}-bit OS." fi - lxterminal --title="Installing $2 ${arch}-bit" -e " + lxterminal --title="Installing $2 with $scriptname script" -e " cd $HOME echo 'corrupted' > \"${DIRECTORY}/data/status/${2}\" if \"$installscript\" ; then