diff --git a/scripts/_common.sh b/scripts/_common.sh index 67d5a68..3e7bb29 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -79,8 +79,8 @@ ynh_install_apps() { ynh_remove_apps() { # Declare an array to define the options of this helper. local legacy_args=a - local -A args_array=([a]=app=) - local app + local -A args_array=([a]=apps=) + local apps # Manage arguments with getopts ynh_handle_getopts_args "$@"