From 415fe2ffc3ef2b2b20f641f9dfd954f361cfee17 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Apr 2022 02:05:08 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 362725a..c46696e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -47,7 +47,7 @@ ynh_install_apps() { for one_app_and_its_args in "${apps_list[@]}" do # Retrieve the name of the app (part before ?) - local one_app=$(cut -d "?" -f1 <<< "$str") + local one_app=$(cut -d "?" -f1 <<< "$one_app_and_its_args") [ -z "$one_app" ] && ynh_die --message="You didn't provided a YunoHost app to install" yunohost tools update apps