mirror of
https://github.com/YunoHost-Apps/nodered_ynh.git
synced 2024-09-03 19:46:25 +02:00
Delete old "ui" permission if it exists
This commit is contained in:
parent
e70f04727d
commit
a5afa5998e
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ if ! ynh_permission_exists --permission="admin"; then
|
|||
ynh_permission_create --permission="admin" --url="/admin" --label="admin" --show_tile=true
|
||||
fi
|
||||
|
||||
if ynh_permission_exists --permission="ui"; then
|
||||
# Delete the old permission
|
||||
ynh_permission_delete --permission="ui"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CLOSING PORT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue