Accepting request 709253 from Application:ERP:GNUHealth:Factory

boo#1136280

OBS-URL: https://build.opensuse.org/request/show/709253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2019-06-12 11:19:08 +00:00 committed by Git OBS Bridge
commit 68599bf89a
2 changed files with 9 additions and 3 deletions

View File

@ -24,7 +24,7 @@
#
##############################################################################
VERSION="3.4.0-openSUSE"
VERSION="3.4.1-openSUSE"
TRYTON_URL="http://downloads.tryton.org"
GNUHEALTH_URL="http://ftp.gnu.org/gnu/health"
@ -410,14 +410,14 @@ getlang() {
local lang_to_install=$2
local lang_file=${lang_to_install}.zip
# source $HOME/.gnuhealthrc || exit 1
cli_msg "INFO" "Going to modules directory..."
cli_msg "INFO" "Going to modules directory ${GNUHEALTH_DIR} "
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 /tmp/${lang_file} || exit 1
cli_msg "INFO" "Installing / Updating language files for ${lang_to_install} ..."
tar --strip-components 3 -xzf /tmp/${lang_file} || exit 1
bsdtar --strip-components 3 -xzf /tmp/${lang_file} || exit 1
cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / updated"
cli_msg "INFO" "You now need to update the database modules"
# cd

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 11 16:10:20 UTC 2019 - Axel Braun <axel.braun@gmx.de>
- gnuhealth-control changed to version 3.4.1
* use bsdtar (can handle zip files, tar can't)
-------------------------------------------------------------------
Sun Mar 10 11:15:13 UTC 2019 - Axel Braun <axel.braun@gmx.de>