WEBOS: No longer creating paths which are not used anymore.

This commit is contained in:
Klaus Reimer 2011-05-01 23:44:20 +02:00
parent 1d1ee5c979
commit ec05f3dc4f

View file

@ -4,14 +4,10 @@
APPDIR=$(readlink -f $(dirname $0))
SCUMMVMDIR=/media/internal/ScummVM
# Create the initial ScummVM directory structure
mkdir -p $SCUMMVMDIR/Games
mkdir -p $SCUMMVMDIR/Saves
mkdir -p $SCUMMVMDIR/Screenshots
mkdir -p $SCUMMVMDIR/Themes
mkdir -p $SCUMMVMDIR/Extras
mkdir -p $SCUMMVMDIR/Plugins
# Install default configuration file if not already present
if [ ! -f $SCUMMVMDIR/scummvmrc ]
@ -19,14 +15,8 @@ then
cp $APPDIR/scummvmrc-default $SCUMMVMDIR/scummvmrc
fi
# Copy themes to theme directory
cp -f $APPDIR/share/scummvm/*.zip $SCUMMVMDIR/Themes
# Change into the screenshots directory so screenshots are saved there
cd $SCUMMVMDIR/Screenshots
# Set library path so the app finds its custom shared libraries
export LD_LIBRARY_PATH=$APPDIR/lib
# Run the game
exec $APPDIR/bin/scummvm -c $SCUMMVMDIR/scummvmrc