diff --git a/manifest.json b/manifest.json index 7a44cce..6c60053 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "dokuwiki", "packaging_format": 1, "requirements": { - "yunohost": ">> 2.6.4" + "yunohost": ">> 2.7.14" }, "description": { "en": "DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database.", diff --git a/scripts/change_url b/scripts/change_url index 487a27b..2af51af 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -73,11 +73,6 @@ then ynh_app_setting_set $app path "$path_url" # Create a dedicated nginx config ynh_add_nginx_config - if [ "$path_url" != "/" ] - then - ynh_replace_string "^#sub_path_only " "" "$nginx_conf_path" - fi - ynh_store_file_checksum "$nginx_conf_path" fi # Change the domain for nginx diff --git a/scripts/install b/scripts/install index f549c7d..6f496c4 100755 --- a/scripts/install +++ b/scripts/install @@ -79,11 +79,6 @@ ynh_setup_source "$final_path" # Create a dedicated nginx config ynh_add_nginx_config -if [ "$path_url" != "/" ] -then - ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf" -fi -ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # CREATE DEDICATED USER diff --git a/scripts/upgrade b/scripts/upgrade index f742118..827c77f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -181,11 +181,6 @@ ynh_setup_source "$final_path" # Create a dedicated nginx config ynh_add_nginx_config -if [ "$path_url" != "/" ] -then - ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf" -fi -ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # CREATE DEDICATED USER