1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00
Kay0u 2019-12-14 15:48:06 +09:00
parent 493dd02b0b
commit 79e18c7ca4
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -153,7 +153,7 @@ ynh_store_file_checksum $php_config
chown -R $app: $final_path chown -R $app: $final_path
# Set the app as temporarily public for curl call # Set the app as temporarily public for curl call
ynh_permission_update --permission "main" --remove "all_users" --add "visitors" ynh_permission_update --permission "main" --add "visitors"
# Reload Nginx # Reload Nginx
systemctl reload nginx systemctl reload nginx
@ -168,7 +168,7 @@ ynh_local_curl $installUrl "u_email=$email" "u_firstname=$firstname" "u_name=$la
#================================================= #=================================================
if [ $is_public -eq 0 ]; then if [ $is_public -eq 0 ]; then
ynh_permission_update --permission "main" --remove "visitors" --add "all_users" ynh_permission_update --permission "main" --remove "visitors"
fi fi
ynh_permission_create --permission "admin" --url "/admin" --allowed $admin ynh_permission_create --permission "admin" --url "/admin" --allowed $admin