Lines 1-5
Link Here
|
1 |
--- setup_trdir.sh.orig Wed Feb 18 15:03:49 2004 |
1 |
--- setup_trdir.sh.orig Tue Jan 25 13:44:55 2005 |
2 |
+++ setup_trdir.sh Wed Feb 18 15:10:49 2004 |
2 |
+++ setup_trdir.sh Tue Jan 25 13:45:30 2005 |
3 |
@@ -6,9 +6,9 @@ |
3 |
@@ -6,9 +6,9 @@ |
4 |
# edit the folowing line |
4 |
# edit the folowing line |
5 |
# |
5 |
# |
Lines 21-27
Link Here
|
21 |
ICONDIR="$TDHOMEDIR/tdicons" |
21 |
ICONDIR="$TDHOMEDIR/tdicons" |
22 |
LOCALEDIR="$TDHOMEDIR/locales" |
22 |
LOCALEDIR="$TDHOMEDIR/locales" |
23 |
if ! test -d $TDHOMEDIR ; then |
23 |
if ! test -d $TDHOMEDIR ; then |
24 |
@@ -37,7 +37,7 @@ |
24 |
@@ -38,7 +38,7 @@ |
25 |
|
25 |
|
26 |
case $CHOIX in |
26 |
case $CHOIX in |
27 |
"2") FLNAME=".traindir.it" |
27 |
"2") FLNAME=".traindir.it" |
Lines 30-50
Link Here
|
30 |
STRING='locale .it';; |
30 |
STRING='locale .it';; |
31 |
|
31 |
|
32 |
"3") FLNAME=".traindir.fr" |
32 |
"3") FLNAME=".traindir.fr" |
33 |
@@ -54,9 +54,7 @@ |
33 |
@@ -56,12 +56,10 @@ |
34 |
cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/ |
34 |
if ! test -d $HOME/.traindir ; then |
|
|
35 |
mkdir $HOME/.traindir |
35 |
fi |
36 |
fi |
36 |
|
37 |
- echo $STRING > $HOME/.traindir/.traindir.ini |
|
|
38 |
- cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/ |
39 |
- |
37 |
-cp -f $SAMPLE/traindir/* $TDHOMEDIR |
40 |
-cp -f $SAMPLE/traindir/* $TDHOMEDIR |
38 |
-cp -f $SAMPLE/traindir/tdicons/*.* $ICONDIR |
41 |
-cp -f $SAMPLE/traindir/tdicons/*.* $ICONDIR |
39 |
- |
42 |
+echo $STRING > $HOME/.traindir/.traindir.ini |
|
|
43 |
+cp -f -R $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/ |
44 |
|
40 |
+cp -f -R $SAMPLE/traindir/* $TDHOMEDIR |
45 |
+cp -f -R $SAMPLE/traindir/* $TDHOMEDIR |
41 |
|
46 |
|
42 |
echo |
47 |
echo |
43 |
echo "Creating startup script......" |
48 |
echo "Creating startup script......" |
44 |
@@ -64,11 +62,13 @@ |
49 |
@@ -69,12 +67,13 @@ |
45 |
echo "#!/bin/sh" > $HOME/traindir.sh |
50 |
echo "#!/bin/sh" > $HOME/traindir.sh |
46 |
echo "# Startup file for traindirector" >> $HOME/traindir.sh |
51 |
echo "# Startup file for traindirector" >> $HOME/traindir.sh |
47 |
echo "#" >> $HOME/sstart-traindir |
52 |
echo "#" >> $HOME/traindir.sh |
48 |
-echo "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh |
53 |
-echo "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh |
49 |
+echo "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh |
54 |
+echo "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh |
50 |
echo "export TDHOME" >> $HOME/traindir.sh |
55 |
echo "export TDHOME" >> $HOME/traindir.sh |
Lines 54-60
Link Here
|
54 |
chmod 0775 $HOME/traindir.sh |
59 |
chmod 0775 $HOME/traindir.sh |
55 |
echo "Installation complete" |
60 |
echo "Installation complete" |
56 |
-echo "You can run ~/traindir.sh from a X console" |
61 |
-echo "You can run ~/traindir.sh from a X console" |
57 |
\ No newline at end of file |
62 |
- |
58 |
+echo "a script file 'traindir.sh' has been created in the current" |
63 |
+echo "a script file 'traindir.sh' has been created in the current" |
59 |
+echo "directory. You can launch it to start the simulation, or move it" |
64 |
+echo "directory. You can launch it to start the simulation, or move it" |
60 |
+echo "to your user's bin directory if you want." |
65 |
+echo "to your user's bin directory if you want." |