mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix helper
This commit is contained in:
parent
0c6392a5f7
commit
cad6f71016
1 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@ ynh_permission_create() {
|
|||
if [ $is_protected == "true" ]; then
|
||||
is_protected=",is_protected=True"
|
||||
else
|
||||
is_protected=",is_protected=$is_protected=False"
|
||||
is_protected=",is_protected=False"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -367,9 +367,9 @@ ynh_permission_update() {
|
|||
fi
|
||||
if [ -n ${is_protected} ]; then
|
||||
if [ $is_protected == "true" ]; then
|
||||
is_protected=",is_protected=$is_protected=True"
|
||||
is_protected=",is_protected=True"
|
||||
else
|
||||
is_protected=",is_protected=$is_protected=False"
|
||||
is_protected=",is_protected=False"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue