mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
No is_public anymore, use ynh_permission_has_user --permission=main --user=visitors
This commit is contained in:
parent
5e1c17a318
commit
a22e478d36
1 changed files with 3 additions and 1 deletions
|
@ -168,7 +168,9 @@ popd
|
|||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..."
|
||||
if [ $is_public -eq 1 ]; then
|
||||
|
||||
if ynh_permission_has_user --permission=main --user=visitors
|
||||
then
|
||||
announce="true"
|
||||
else
|
||||
announce="fase"
|
||||
|
|
Loading…
Add table
Reference in a new issue