From 9a4c689a6ab19e048c874bd27149369a7557fafd Mon Sep 17 00:00:00 2001 From: Alchemi1963 Date: Thu, 30 May 2024 23:22:05 +0200 Subject: [PATCH] Added empty parameter catch around line 90 --- installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer.sh b/installer.sh index 117ad23..bb5b33a 100755 --- a/installer.sh +++ b/installer.sh @@ -83,6 +83,9 @@ function waFindInstalled() { } function waConfigureApp() { + if [[ -z $1 ]]; then + return 1 + fi if [ -z "$ICON" ]; then ICON=$SYS_PATH/apps/$1/icon.$2 fi