diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 |
| commit | e7d20cf352688bf717a01f4e6d9e6f497c2bea4c (patch) | |
| tree | cfd2ef9b569f49af985a6f1ec44f2614f63c8e78 /distribution/posix/postinst | |
| parent | a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (diff) | |
New upstream version 5.3.1Beta2upstream/5.3.1Beta2
Diffstat (limited to 'distribution/posix/postinst')
| -rwxr-xr-x | distribution/posix/postinst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/distribution/posix/postinst b/distribution/posix/postinst index 969aa7e..d4e22cb 100755 --- a/distribution/posix/postinst +++ b/distribution/posix/postinst @@ -1,5 +1,5 @@ #!/bin/sh -LOGF=/tmp/xtrkcad-setup.log +LOGF=${HOME}/xtrkcad-setup.log if [ -f "${LOGF}" ] ; then chmod 666 ${LOGF} echo postinst: $* >> ${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 install ${INSTALLDIR}" -l $SUDO_USER ) >> ${LOGF} 2>&1 |
