mirror of
https://github.com/YunoHost-Apps/listmonk_ynh.git
synced 2024-09-03 19:36:15 +02:00
fix if-fi
This commit is contained in:
parent
4935e6044e
commit
316e6bc5e0
1 changed files with 2 additions and 1 deletions
|
@ -79,6 +79,7 @@ if ! ynh_permission_exists --permission="api"; then
|
|||
fi
|
||||
|
||||
if ynh_compare_current_package_version --comparison le --version 2.3.0~ynh1
|
||||
then
|
||||
mkdir -p "$final_path/uploads"
|
||||
|
||||
ynh_permission_delete --permission="admin"
|
||||
|
@ -86,7 +87,7 @@ if ynh_compare_current_package_version --comparison le --version 2.3.0~ynh1
|
|||
|
||||
ynh_permission_create --permission="admin" --url="/admin" --additional_urls="/admin /api" --allowed=$admin --auth_header=false
|
||||
ynh_permission_create --permission="api" --url="/public" --additional_urls="/api/public" --allowed="visitors" --show_tile="false" --protected="true"
|
||||
then
|
||||
fi
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue