Skip to content

Commit

Permalink
AppImage: set debug if $ULTRAGRID_VERBOSE
Browse files Browse the repository at this point in the history
If $ULTRAGRID_VERBOSE is set and $APPIMAGE_DEBUG is undefined, set
APPIMAGE_DEBUG to value of ULTRAGRID_APPIMAGE.
  • Loading branch information
MartinPulec committed Sep 25, 2024
1 parent b644147 commit a544fee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/scripts/Linux-AppImage/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a544fee

Please sign in to comment.