diff --git a/manage b/manage index a08b593..1876368 100755 --- a/manage +++ b/manage @@ -167,6 +167,8 @@ elif [ "$1" == 'install' ];then #for piping to tee, the install script's exit code is preserved by enabling the pipefail bash builtin set -o pipefail + chmod u+x "$installscript" + echo -e "\e[96mInstalling $app with $scriptname script\e[39m" | tee -a "$logfile" cd $HOME echo 'corrupted' > "${DIRECTORY}/data/status/${app}" @@ -226,6 +228,8 @@ elif [ "$1" == 'uninstall' ];then #for piping to tee, the install script's exit code is preserved by enabling the pipefail bash builtin set -o pipefail + chmod u+x "${DIRECTORY}/apps/${app}/uninstall" + echo -e "\e[96mUninstalling $app\e[39m" | tee -a "$logfile" cd $HOME echo 'corrupted' > "${DIRECTORY}/data/status/${app}"