diff --git a/README.md b/README.md index 427ff8a..57b5bed 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. -**Shipped version:** 1.8.29~ynh1 +**Shipped version:** 1.8.29~ynh2 **Demo:** https://demomybb.tk/ diff --git a/README_fr.md b/README_fr.md index 5ea9beb..64324e6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. -**Version incluse :** 1.8.29~ynh1 +**Version incluse :** 1.8.29~ynh2 **Démo :** https://demomybb.tk/ diff --git a/conf/nginx.conf b/conf/nginx.conf index 145d1fb..6e67488 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,11 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file diff --git a/manifest.json b/manifest.json index 790915a..5b1a773 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Forum software", "fr": "Forum open source et libre" }, - "version": "1.8.29~ynh1", + "version": "1.8.29~ynh2", "url": "https://mybb.com/", "upstream": { "license": "LGPL-3.0-only", @@ -21,7 +21,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.2.4" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ diff --git a/scripts/restore b/scripts/restore index 57eecd5..f4a076a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -36,8 +36,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS