diff --git a/gnuhealth-control b/gnuhealth-control index d781be9..83dd122 100644 --- a/gnuhealth-control +++ b/gnuhealth-control @@ -24,10 +24,10 @@ # ############################################################################## -VERSION="3.6.5-openSUSE" +VERSION="3.8.0-openSUSE" TRANSLATE_URL="https://hosted.weblate.org" -GNUHEALTH_DIR=$(rpm -ql gnuhealth | egrep '^/usr/lib/python.\..{1,2}/site-packages$') +GNUHEALTH_DIR=$(rpm --eval '%python3_sitelib')/trytond/modules UPDATE_DOWNLOAD_DIR=$(mktemp -d) usage() diff --git a/gnuhealth.changes b/gnuhealth.changes index 11fb9c6..ccc03d8 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 16 17:16:20 UTC 2021 - Axel Braun + +- update to gnuhealth-control + ------------------------------------------------------------------- Wed Mar 24 17:21:38 UTC 2021 - Axel Braun diff --git a/gnuhealth.spec b/gnuhealth.spec index 22c80a8..8561863 100644 --- a/gnuhealth.spec +++ b/gnuhealth.spec @@ -156,9 +156,9 @@ rmdir backend #Write environment changes to /etc/bash.bashrc.local cat > /etc/bash.bashrc.local << "EOF" alias cdlogs='cd /var/log/tryton' -alias cdexe='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond' +alias cdexe='cd %python3_sitelib/trytond' alias cdconf='cd /etc/tryton' -alias cdmods='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules' +alias cdmods='cd %python3_sitelib/trytond/modules' alias editconf='${EDITOR} /etc/tryton/trytond.conf' alias cdutil='cd /usr/bin' export EDITOR=nano