diff --git a/gnuhealth-control b/gnuhealth-control index 9a85aeb..cdd1784 100644 --- a/gnuhealth-control +++ b/gnuhealth-control @@ -24,7 +24,7 @@ # ############################################################################## -VERSION="3.6.2-openSUSE" +VERSION="3.6.3-openSUSE" TRYTON_URL="http://downloads.tryton.org" GNUHEALTH_URL="http://ftp.gnu.org/gnu/health" @@ -417,8 +417,10 @@ getlang() { 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} ..." - bsdtar --strip-components 3 -xzf /tmp/${lang_file} || exit 1 + bsdtar --strip-components 3 --exclude *webdav3* --exclude *caldav* -xzf /tmp/${lang_file} || exit 1 cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / updated" + chmod -R a+r ${GNUHEALTH_DIR} + cli_msg "INFO" "Read permissions set" cli_msg "INFO" "You now need to update the database modules" # cd } diff --git a/gnuhealth.changes b/gnuhealth.changes index 0f99830..f098d72 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Mar 14 15:24:49 UTC 2020 - Axel Braun + +- gnuhealth-control 3.6.3 - added chmod after getlang command + +------------------------------------------------------------------- +Mon Mar 2 19:25:36 UTC 2020 - Axel Braun + +- modified getlang to exclude 2 directories (otherwise initialization fails after language installation) + ------------------------------------------------------------------- Fri Feb 28 11:24:46 UTC 2020 - Axel Braun diff --git a/gnuhealth.spec b/gnuhealth.spec index 6d6fc6a..2c4753a 100644 --- a/gnuhealth.spec +++ b/gnuhealth.spec @@ -141,6 +141,10 @@ install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/%{name}-webdav@.service mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tryton +#need to create two links +##ln -s $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules/calendar %{buildroot}$(ls -d /usr/lib/python3.* )/site-packages/trytond/modules/health_caldav +##ln -s $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules/webdav %{buildroot}$(ls -d /usr/lib/python3.* )/site-packages/trytond/modules/health_webdav3_server + %python_expand %fdupes %{buildroot}%{$python_sitelib} %pre