diff --git a/README.md b/README.md index 0618d09..1e8f432 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,8 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d - Sample files to create your own public interface -**Shipped version:** 1.9.1~ynh2 +**Shipped version:** 1.9.1~ynh3 + **Demo:** https://yourls.org/cookie+ diff --git a/README_fr.md b/README_fr.md index 92b3e68..4895dd9 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,8 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d - Sample files to create your own public interface -**Version incluse :** 1.9.1~ynh2 +**Version incluse :** 1.9.1~ynh3 + **Démo :** https://yourls.org/cookie+ diff --git a/manifest.json b/manifest.json index 5bb7354..0cd0c3f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "URL shortening service", "fr": "Service de raccourcisseur d'URL" }, - "version": "1.9.1~ynh2", + "version": "1.9.1~ynh3", "url": "https://yourls.org/", "upstream": { "license": "MIT", @@ -26,7 +26,7 @@ "url": "http://thomaslebeau.fr" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ diff --git a/scripts/upgrade b/scripts/upgrade index d4b9086..7d6e6df 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -22,7 +22,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) -phpversion=$YNH_PHP_VERSION +phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # CHECK VERSION @@ -90,7 +90,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep="$final_path/user/config.php" + ynh_setup_source --dest_dir="$final_path" --keep="user/config.php" fi chmod 750 "$final_path"