forked from pool/gnuhealth
Accepting request 785048 from Application:ERP:GNUHealth:3.6
- gnuhealth-control 3.6.3 - added chmod after getlang command - modified getlang to exclude 2 directories (otherwise initialization fails after language installation) OBS-URL: https://build.opensuse.org/request/show/785048 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth?expand=0&rev=48
This commit is contained in:
parent
4e76840c86
commit
d12fd3b3a5
@ -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
|
||||
}
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 15:24:49 UTC 2020 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- gnuhealth-control 3.6.3 - added chmod after getlang command
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 19:25:36 UTC 2020 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- modified getlang to exclude 2 directories (otherwise initialization fails after language installation)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 11:24:46 UTC 2020 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user