SHA256
1
0
forked from pool/gnuhealth
Axel Braun 2020-05-19 19:05:54 +00:00 committed by Git OBS Bridge
parent edb52a1aca
commit c46dcbd0d9

View File

@ -250,7 +250,7 @@ getlang() {
wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1 wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
cli_msg "INFO" "Installing / Updating language files for ${lang_to_install} ..." cli_msg "INFO" "Installing / Updating language files for ${lang_to_install} ..."
bsdtar --strip-components 3 --exclude *webdav3* --exclude *caldav* -xzf $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1 bsdtar --strip-components 3 -xzf $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / updated" cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / updated"
chmod -R a+r ${GNUHEALTH_DIR} chmod -R a+r ${GNUHEALTH_DIR}
cli_msg "INFO" "Read permissions set" cli_msg "INFO" "Read permissions set"