1
0
Fork 0
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:
navanchauhan 2022-12-27 17:22:26 -05:00
parent 4935e6044e
commit 316e6bc5e0

View file

@ -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
#=================================================