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