From c8c972ebf3c4214b6cb3b4498f3260efa464e3b1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Apr 2022 02:05:33 +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 ae5c29d..3e5074d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -50,7 +50,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