mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix regression due to merge
This commit is contained in:
parent
73e2ede910
commit
03bc568276
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue