Revision 1953 tmp/org.txm.setups/shared/debian/usr/bin/TXM

TXM (revision 1953)
3 3
VERSION=-TXMVERSION
4 4
VERSIONWITHOUTSUB=-TXMVERSIONWITHOUTSUB
5 5

  
6
echo "TXM: Preparing redirections in $HOME/TXM_PostInstallOutputLogs.txt and $HOME/TXM_PostInstallErrorLogs.txt files."
6
echo "TXM: Preparing redirections in $HOME/TXMPostInstallOutputLogs.txt and $HOME/TXMPostInstallErrorLogs.txt files."
7 7

  
8
LOGFILESMSG=", see $HOME/TXM_PostInstallOutputLogs.txt and $HOME/TXM_PostInstallErrorLogs.txt output and error messages files."
8
LOGFILESMSG=", see $HOME/TXMPostInstallOutputLogs.txt and $HOME/TXMPostInstallErrorLogs.txt output and error messages files."
9 9

  
10
exec 3>$HOME/TXM_PostInstallOutputLogs.txt
11
exec 4>$HOME/TXM_PostInstallErrorLogs.txt
10
exec 3>$HOME/TXMPostInstallOutputLogs.txt
11
exec 4>$HOME/TXMPostInstallErrorLogs.txt
12 12

  
13 13
TXMINSTALL="/usr/lib/TXM${VERSION}"
14 14
TXMHOME="$HOME/TXM${VERSIONWITHOUTSUB}"
......
144 144
	echo "TXM: already up to date."
145 145
fi
146 146

  
147
) 1>&3 2>&4
148 147

  
148

  
149 149
# don't exec TXM if problem occurs
150 150
if [ $? != 0 ]; then
151 151
    echo "TXM: An error occurred. Aborting$LOGFILESMSG"
......
154 154

  
155 155
## uncomment next line to enable full debug
156 156
#DEBUGOPTIONS="-log -clean -debug -console -noexit"
157
) 1>&3 2>&4
157 158

  
158
SWT_GTK3=0 UBUNTU_MENUPROXY=0 exec "${TXMINSTALL}/TXM" -consoleLog "$@" -run --launcher.ini "$DOTTXMHOME/TXM.ini" $DEBUGOPTIONS -configuration "$DOTTXMHOME/configuration" -user "$DOTTXMHOME/user" -install "$TXMINSTALL"
159
SWT_GTK3=0 UBUNTU_MENUPROXY=0 exec "${TXMINSTALL}/TXM" "$@" -run --launcher.ini "$DOTTXMHOME/TXM.ini" $DEBUGOPTIONS -configuration "$DOTTXMHOME/configuration" -user "$DOTTXMHOME/user" -install "$TXMINSTALL"

Also available in: Unified diff