mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Fix is_public during upgrade
This commit is contained in:
parent
5145a4654b
commit
0500b5b614
1 changed files with 1 additions and 6 deletions
|
@ -25,12 +25,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
language=$(ynh_app_setting_get --app=$app --key=language)
|
language=$(ynh_app_setting_get --app=$app --key=language)
|
||||||
|
|
||||||
trustedversion="4.4-1+stretch"
|
trustedversion="4.4-1+stretch"
|
||||||
if [ ynh_permission_has_user --permission=main --user=visitors ]
|
is_public=$(ynh_permission_has_user --permission=main --user=visitors)
|
||||||
then
|
|
||||||
is_public=0
|
|
||||||
else
|
|
||||||
is_public=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
|
|
Loading…
Add table
Reference in a new issue