1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2020-12-01 11:49:54 +01:00
parent 3cadf7cd51
commit 206f5173ac
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -105,13 +105,6 @@ ynh_secure_remove "$tmpdir"
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..."
# Bug in NGINX with locations and aliases (see http://stackoverflow.com/a/35102259 )
if [ $path_url = "/" ]; then
ynh_replace_string "__PATH_HACK__" "" "../conf/nginx.conf"
else
ynh_replace_string "__PATH_HACK__" "$path_url/$path_url" "../conf/nginx.conf"
fi
# Create a dedicated NGINX config
ynh_add_nginx_config