Fix regression due to merge

This commit is contained in:
Josué Tille 2020-04-28 15:00:21 +02:00
parent 73e2ede910
commit 03bc568276
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -201,7 +201,12 @@ ynh_permission_create() {
local protected local protected
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
url=${url:-} url=${url:-}
additional_urls=${additional_urls:-}
auth_header=${auth_header:-}
allowed=${allowed:-} allowed=${allowed:-}
label=${label:-}
show_tile=${show_tile:-}
protected=${protected:-}
if [[ -n $url ]] if [[ -n $url ]]
then then
@ -312,6 +317,10 @@ ynh_permission_url() {
local clear_urls local clear_urls
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
url=${url:-} url=${url:-}
add_url=${add_url:-}
remove_url=${remove_url:-}
auth_header=${auth_header:-}
clear_urls=${clear_urls:-}
if [[ -n $url ]] if [[ -n $url ]]
then then
@ -370,6 +379,9 @@ ynh_permission_update() {
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
add=${add:-} add=${add:-}
remove=${remove:-} remove=${remove:-}
label=${label:-}
show_tile=${show_tile:-}
protected=${protected:-}
if [[ -n $add ]] if [[ -n $add ]]
then then