mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Getopts strange errors
This commit is contained in:
parent
63d44429bb
commit
f2aefc8efe
1 changed files with 3 additions and 3 deletions
|
@ -17,15 +17,15 @@ ynh_export () {
|
||||||
ynh_save_args () {
|
ynh_save_args () {
|
||||||
for var in $@;
|
for var in $@;
|
||||||
do
|
do
|
||||||
ynh_app_setting_set -a $app -k $var -v ${!var}
|
ynh_app_setting_set $app $var ${!var}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
ynh_sso_access () {
|
ynh_sso_access () {
|
||||||
ynh_app_setting_set -a $app -k unprotected_uris -v "/"
|
ynh_app_setting_set $app unprotected_uris "/"
|
||||||
|
|
||||||
if [[ $is_public -eq 0 ]]; then
|
if [[ $is_public -eq 0 ]]; then
|
||||||
ynh_app_setting_set -a $app -k protected_uris -v "$1"
|
ynh_app_setting_set $app protected_uris "$1"
|
||||||
fi
|
fi
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue