From 78a31320d46b1bbf0a4fd0e2a28d5f504ce62c184eb923318ad056c5ec5065b1 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Sat, 17 Apr 2021 17:23:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth?expand=0&rev=86 --- gnuhealth.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnuhealth.spec b/gnuhealth.spec index 22c80a8..c47cf12 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 $(rpm --eval '%python3_sitelib')/site-packages/trytond' alias cdconf='cd /etc/tryton' -alias cdmods='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules' +alias cdmods='cd $(rpm --eval '%python3_sitelib')/site-packages/trytond/modules' alias editconf='${EDITOR} /etc/tryton/trytond.conf' alias cdutil='cd /usr/bin' export EDITOR=nano