Lines 1-16
Link Here
|
1 |
#!/bin/sh |
1 |
#!/bin/sh |
2 |
CURPWD=$PWD |
2 |
( |
3 |
mkdir $HOME/.vegastrike |
3 |
mkdir $HOME/.vegastrike 2> /dev/null |
4 |
cd $HOME/.vegastrike |
4 |
cd $HOME/.vegastrike |
5 |
if cat save.4.x.txt ; |
5 |
if [ -f save.4.x.txt ] ; then |
6 |
then |
6 |
touch save.4.x.txt |
7 |
touch save.4.x.txt; |
|
|
8 |
else |
7 |
else |
9 |
echo "default"> save.4.x.txt ; |
8 |
echo "default"> save.4.x.txt |
10 |
fi |
9 |
fi |
11 |
cp /usr/local/share/vegastrike/data/setup.config . |
10 |
cp /usr/local/share/vegastrike/data/setup.config . |
12 |
cp /usr/local/share/vegastrike/data/.vegastrike/*.m3u . |
11 |
cp /usr/local/share/vegastrike/data/.vegastrike/*.m3u . |
13 |
cp /usr/local/share/vegastrike/data/vegastrike.config . |
12 |
cp /usr/local/share/vegastrike/data/vegastrike.config . |
14 |
/usr/local/bin/vssetup |
13 |
/usr/local/bin/vssetup |
|
|
14 |
) |
15 |
echo "If you wish to have your own music edit ~/.vegastrike/*.m3u Each playlist represents a place or situation in Vega Strike" |
15 |
echo "If you wish to have your own music edit ~/.vegastrike/*.m3u Each playlist represents a place or situation in Vega Strike" |
16 |
cd $CURPWD |
16 |
exit 0 |