blob: b5ae9173f7e411b774a2d47e8bd0c0977cbebada (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
LOGF=/tmp/xtrkcad-setup.log
if [ -f "${LOGF}" ] ; then
chmod 666 ${LOGF}
echo prerm: $* >> ${LOGF}
else
LOGF=/dev/null
fi
INSTALLDIR=/usr/share/xtrkcad
( su -c "sh ${INSTALLDIR}/xtrkcad-setup remove ${INSTALLDIR}" -l $SUDO_USER ) >> ${LOGF} 2>&1
exit 0
|