changeset 3227:502b0728a4e2

Fix bug #55813: Latest Pootle version not compatible with GNU Health control
author Luis Falcon <falcon@gnu.org>
date Sat, 02 Mar 2019 18:47:09 +0000
parents 7e2c77dac653
children 3e291c75405d
files tryton/gnuhealth-control
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/gnuhealth-control
+++ b/tryton/gnuhealth-control
@@ -23,7 +23,7 @@
 #
 ##############################################################################
 
-VERSION="3.4.0"
+VERSION="3.4.1"
 
 TRYTON_URL="http://downloads.tryton.org"
 GNUHEALTH_URL="https://ftp.gnu.org/gnu/health"
@@ -39,6 +39,8 @@
 
 TRYTON_PATCHES="get_login_trytond-46.patch.asc"
 
+BSDTAR="bsdtar"
+
 usage()
 {
     cat << EOF
@@ -526,7 +528,7 @@
     wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O /tmp/${lang_file} || bailout
     message "INFO" "Installing / Updating language files for ${lang_to_install} ..."
 
-    tar --strip-components 3 -xzf /tmp/${lang_file} || bailout
+    ${BSDTAR} --strip-components 3 -xzf /tmp/${lang_file} || bailout
     message "INFO" "Language pack ${lang_to_install} sucessfully installed / updated"
     message "INFO" "You now need to update the database modules"
     cd