From a544fee81247e6f75e444cea82acfaf541f4e373 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 25 Sep 2024 09:07:54 +0200 Subject: [PATCH] AppImage: set debug if $ULTRAGRID_VERBOSE If $ULTRAGRID_VERBOSE is set and $APPIMAGE_DEBUG is undefined, set APPIMAGE_DEBUG to value of ULTRAGRID_APPIMAGE. --- data/scripts/Linux-AppImage/AppRun | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/scripts/Linux-AppImage/AppRun b/data/scripts/Linux-AppImage/AppRun index e60048749..fa0ada62a 100755 --- a/data/scripts/Linux-AppImage/AppRun +++ b/data/scripts/Linux-AppImage/AppRun @@ -379,6 +379,10 @@ if [ "${FIREJAIL_DEBUG-}" ]; then (replacement)${reset}\n" fi +if [ "${APPIMAGE_DEBUG-undef}" = undef ] && [ "${ULTRAGRID_VERBOSE-}" ]; then + APPIMAGE_DEBUG=$ULTRAGRID_VERBOSE +fi + if [ $# -eq 0 ] || [ "${1-}" = "--gui" ]; then handle_updates "$@" if [ $# -eq 0 ]; then usage; else shift; fi