From 5f4200bdaa511b83aa8cc3acce73b396e0887458 Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 2 Jan 2018 00:22:40 +0100 Subject: [PATCH] Update worker.sh --- code/worker.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/worker.sh b/code/worker.sh index 5e559ddd..bd7a6386 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -90,6 +90,8 @@ fi if [ ! -f appdir-lint.sh ] ; then wget -c -q https://raw.githubusercontent.com/AppImage/AppImages/master/appdir-lint.sh https://raw.githubusercontent.com/AppImage/AppImages/master/excludelist fi + +set -x # If we have a type 2 AppImage, then mount it using appimagetool (not using itself for security reasons) if [ $TYPE -eq 2 ] ; then @@ -124,6 +126,8 @@ if [ $TYPE -eq 1 ] ; then # later # sudo umount -l /mnt fi +set +x + TERMINAL=false grep -r Terminal=true "${APPDIR}"/*.desktop && TERMINAL=true echo "TERMINAL: $TERMINAL"