From e7d20cf352688bf717a01f4e6d9e6f497c2bea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Sep 2025 19:19:34 +0200 Subject: New upstream version 5.3.1Beta2 --- distribution/posix/prerm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'distribution/posix/prerm') diff --git a/distribution/posix/prerm b/distribution/posix/prerm index b5ae917..71cfd00 100755 --- a/distribution/posix/prerm +++ b/distribution/posix/prerm @@ -1,5 +1,5 @@ #!/bin/sh -LOGF=/tmp/xtrkcad-setup.log +LOGF=${HOME}/xtrkcad-setup.log if [ -f "${LOGF}" ] ; then chmod 666 ${LOGF} echo prerm: $* >> ${LOGF} @@ -7,7 +7,9 @@ else LOGF=/dev/null fi -INSTALLDIR=/usr/share/xtrkcad +# Note: when branching for Beta, change the next line to /usr/local/share/xtrkcad-beta +# when building for GA, change the next line back to /usr/share/xtrkcad +INSTALLDIR=/usr/local/share/xtrkcad-beta ( su -c "sh ${INSTALLDIR}/xtrkcad-setup remove ${INSTALLDIR}" -l $SUDO_USER ) >> ${LOGF} 2>&1 -- cgit v1.2.3