Accepting request 818327 from Application:ERP:GNUHealth:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/818327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2020-07-02 22:13:43 +00:00 committed by Git OBS Bridge
commit 03fcb84bf8
2 changed files with 9 additions and 5 deletions

View File

@ -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}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 25 08:23:34 UTC 2020 - Axel Braun <axel.braun@gmx.de>
- 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 <axel.braun@gmx.de>