diff --git a/manifest.json b/manifest.json index 1b3fe32..fb04a7f 100755 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "name": "yalh76" }], "requirements": { - "yunohost": ">= 3.5" + "yunohost": ">= 4" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index 37cc0f5..515f889 100755 --- a/scripts/install +++ b/scripts/install @@ -50,10 +50,6 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." -if [ "$(lsb_release --codename --short)" != "buster" ]; then - ynh_die --message="Sorry, but this app can only be installed on Buster :(" -fi - final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" diff --git a/scripts/restore b/scripts/restore index 6408e6a..c4e556c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -42,10 +42,6 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." -if [ "$(lsb_release --codename --short)" != "buster" ]; then - ynh_die --message="Sorry, but this app can only be restored on Buster :(" -fi - ynh_webpath_available --domain=$domain --path_url=$path_url \ || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ diff --git a/scripts/upgrade b/scripts/upgrade index da30703..f3b3455 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -46,10 +46,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." -if [ "$(lsb_release --codename --short)" != "buster" ]; then - ynh_die --message="Sorry, but this app can only be upgraded on Buster :(" -fi - # Fix is_public as a boolean value if [ "$is_public" = "Yes" ]; then ynh_app_setting_set --app=$app --key=is_public --value=1