From 1483e74d8a49d3a70dce64cbf476dd23d1d27425 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 12 Nov 2021 21:09:15 +0100 Subject: [PATCH] 4.9 --- manifest.json | 11 ++++------- scripts/_common.sh | 2 +- scripts/restore | 2 -- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index c3c1165..88220a9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Translation platform using Git and Python", "fr": "Plateforme de traduction utilisant Git et Python" }, - "version": "4.8~ynh1", + "version": "4.9~ynh1", "url": "https://weblate.org", "upstream": { "license": "AGPL-3.0", @@ -36,8 +36,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", @@ -56,13 +55,11 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "password", - "type": "password", - "example": "Choose a password" + "type": "password" }, { "name": "github_account", diff --git a/scripts/_common.sh b/scripts/_common.sh index bf0aa38..4421e61 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -12,7 +12,7 @@ pkg_dependencies="libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libpq-dev libglib2.0-dev mailutils python-celery-common hub" # Weblate's version for PIP and settings file -weblate_version="4.8" +weblate_version="4.9" debian_maj_version=$(sed 's/\..*//' /etc/debian_version) diff --git a/scripts/restore b/scripts/restore index 2389760..71b711a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -34,8 +34,6 @@ db_pwd=$(ynh_app_setting_get --app="$app" --key=psqlpwd) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path "