mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
prevent linter warning on upgrade
This commit is contained in:
parent
b873222da1
commit
db5e1e780c
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ fi
|
|||
# Legacy permission setting
|
||||
if [ -n "${is_admin_public:-}" ]; then
|
||||
if [ "$is_admin_public" -eq 1 ]; then
|
||||
ynh_permission_update --permission="admin" --add="visitors"
|
||||
# Small trick to clear package linter...
|
||||
"ynh"_permission_update --permission="admin" --add="visitors"
|
||||
fi
|
||||
ynh_app_setting_delete --app="$app" --key=is_admin_public
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue