mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix typo
This commit is contained in:
parent
a3fb329f21
commit
9757ef2ddd
1 changed files with 10 additions and 10 deletions
|
@ -274,9 +274,9 @@ ynh_permission_create() {
|
||||||
# Convert a list from getopts to python list
|
# Convert a list from getopts to python list
|
||||||
# Note that getopts separate the args with ';'
|
# Note that getopts separate the args with ';'
|
||||||
# By example:
|
# By example:
|
||||||
# --additional_urls /urlA /urlB
|
# --allowed alice bob
|
||||||
# will be:
|
# will be:
|
||||||
# additional_urls=['/urlA', '/urlB']
|
# allowed=['alice', 'bob']
|
||||||
allowed=",allowed=['${allowed//;/\',\'}']"
|
allowed=",allowed=['${allowed//;/\',\'}']"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -384,9 +384,9 @@ ynh_permission_url() {
|
||||||
# Convert a list from getopts to python list
|
# Convert a list from getopts to python list
|
||||||
# Note that getopts separate the args with ';'
|
# Note that getopts separate the args with ';'
|
||||||
# By example:
|
# By example:
|
||||||
# --additional_urls /urlA /urlB
|
# --add_url /urlA /urlB
|
||||||
# will be:
|
# will be:
|
||||||
# additional_urls=['/urlA', '/urlB']
|
# add_url=['/urlA', '/urlB']
|
||||||
add_url=",add_url=['${add_url//;/\',\'}']"
|
add_url=",add_url=['${add_url//;/\',\'}']"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -395,9 +395,9 @@ ynh_permission_url() {
|
||||||
# Convert a list from getopts to python list
|
# Convert a list from getopts to python list
|
||||||
# Note that getopts separate the args with ';'
|
# Note that getopts separate the args with ';'
|
||||||
# By example:
|
# By example:
|
||||||
# --additional_urls /urlA /urlB
|
# --remove_url /urlA /urlB
|
||||||
# will be:
|
# will be:
|
||||||
# additional_urls=['/urlA', '/urlB']
|
# remove_url=['/urlA', '/urlB']
|
||||||
remove_url=",remove_url=['${remove_url//;/\',\'}']"
|
remove_url=",remove_url=['${remove_url//;/\',\'}']"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -455,9 +455,9 @@ ynh_permission_update() {
|
||||||
# Convert a list from getopts to python list
|
# Convert a list from getopts to python list
|
||||||
# Note that getopts separate the args with ';'
|
# Note that getopts separate the args with ';'
|
||||||
# By example:
|
# By example:
|
||||||
# --additional_urls /urlA /urlB
|
# --add alice bob
|
||||||
# will be:
|
# will be:
|
||||||
# additional_urls=['/urlA', '/urlB']
|
# add=['alice', 'bob']
|
||||||
add=",add=['${add//';'/"','"}']"
|
add=",add=['${add//';'/"','"}']"
|
||||||
fi
|
fi
|
||||||
if [[ -n $remove ]]
|
if [[ -n $remove ]]
|
||||||
|
@ -465,9 +465,9 @@ ynh_permission_update() {
|
||||||
# Convert a list from getopts to python list
|
# Convert a list from getopts to python list
|
||||||
# Note that getopts separate the args with ';'
|
# Note that getopts separate the args with ';'
|
||||||
# By example:
|
# By example:
|
||||||
# --additional_urls /urlA /urlB
|
# --remove alice bob
|
||||||
# will be:
|
# will be:
|
||||||
# additional_urls=['/urlA', '/urlB']
|
# remove=['alice', 'bob']
|
||||||
remove=",remove=['${remove//';'/"','"}']"
|
remove=",remove=['${remove//';'/"','"}']"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue