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

TXM (revision 917)
9 9
exec 3>$HOME/TXM_PostInstallOutputLogs.txt
10 10
exec 4>$HOME/TXM_PostInstallErrorLogs.txt
11 11

  
12
TXMINSTALL="/usr/lib/TXM${VERSION}"
13
TXMHOME="$HOME/TXM${VERSION}"
14
DOTTXMHOME="$TXMHOME/.txm"
15

  
12 16
(
13 17
echo "TXM: $HOME is '$HOME'"
14 18

  
......
20 24

  
21 25
echo "TXM: Creating all necessary directories."
22 26

  
23
TXMINSTALL="/usr/lib/TXM${VERSION}"
24
TXMHOME="$HOME/TXM${VERSION}"
25
DOTTXMHOME="$TXMHOME/.txm"
26

  
27 27
echo "TXMHOME='$TXMHOME'"
28 28
if [ ! -d "$TXMHOME" ]; then
29 29
	mkdir "$TXMHOME"
......
119 119
		exit 1
120 120
    fi
121 121

  
122
    echo "TXM: getting '$TXMISNTALL/TXM.ini' and setting write permissions to '$DOTTXMHOME/TXM.ini'"
123
    cp "$TXMISNTALL/TXM.ini" "$DOTTXMHOME/TXM.ini" &&
122
    echo "TXM: getting '$TXMINSTALL/TXM.ini' and setting write permissions to '$DOTTXMHOME/TXM.ini'"
123
    cp "$TXMINSTALL/TXM.ini" "$DOTTXMHOME/TXM.ini" &&
124 124
    chmod +w "$DOTTXMHOME/TXM.ini"
125 125
	
126 126
    if [ $? != 0 ]; then
......
150 150
## uncomment next lien to enable full debug
151 151
#DEBUGOPTIONS="-log -consolelog -clean -debug -console -noexit"
152 152

  
153
UBUNTU_MENUPROXY=0 exec "$TXMINSTALL/TXM" -run --launcher.ini "$DOTTXMHOME/TXM.ini" $DEBUGOPTIONS -data "$DOTTXMHOME/data" -user "$DOTTXMHOME/user" -install "$TXMINSTALL"
153
UBUNTU_MENUPROXY=0 exec "${TXMINSTALL}/TXM" -run --launcher.ini "$DOTTXMHOME/TXM.ini" $DEBUGOPTIONS -data "$DOTTXMHOME/data" -user "$DOTTXMHOME/user" -install "$TXMINSTALL"

Also available in: Unified diff