From b6435cd5a9f718b2996db1cdd8976fdcf688b4d52cbbedbe43a2c2c33c6cc09f Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Thu, 25 Jun 2020 08:24:32 +0000 Subject: [PATCH] - gnuhealth-control updated to 3.6.5-openSUSE * change of translation server for language packs OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth?expand=0&rev=69 --- gnuhealth-control | 8 +++----- gnuhealth.changes | 6 ++++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gnuhealth-control b/gnuhealth-control index 8ce63e5..d781be9 100644 --- a/gnuhealth-control +++ b/gnuhealth-control @@ -24,11 +24,10 @@ # ############################################################################## -VERSION="3.6.4-openSUSE" +VERSION="3.6.5-openSUSE" -TRANSLATE_URL="https://translate.gnusolidario.org" +TRANSLATE_URL="https://hosted.weblate.org" GNUHEALTH_DIR=$(rpm -ql gnuhealth | egrep '^/usr/lib/python.\..{1,2}/site-packages$') - UPDATE_DOWNLOAD_DIR=$(mktemp -d) usage() @@ -247,9 +246,8 @@ getlang() { cd ${GNUHEALTH_DIR} || exit 1 cli_msg "INFO" "Retrieving language pack file for ${lang_to_install}" - wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1 + wget ${TRANSLATE_URL}/download-language/${lang_to_install}/gnu-health/?format=zip -O $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1 cli_msg "INFO" "Installing / Updating language files for ${lang_to_install} ..." - bsdtar --strip-components 3 -xzf $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1 cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / updated" chmod -R a+r ${GNUHEALTH_DIR} diff --git a/gnuhealth.changes b/gnuhealth.changes index 8d03d8f..852272d 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 25 08:23:34 UTC 2020 - Axel Braun + +- gnuhealth-control updated to 3.6.5-openSUSE + * change of translation server for language packs + ------------------------------------------------------------------- Thu May 21 09:06:00 UTC 2020 - Axel Braun