pkgsrc/multimedia/divxplayer/files/launcher.sh
2004-01-26 13:28:19 +00:00

14 lines
211 B
Bash

#!/bin/sh
PROGRAM="$0"
DATADIR="%%DATADIR%%"
DIVX_SKIN_DIR=${DATADIR}/Skins
export DIVX_SKIN_DIR
if [ -f ~/.divxPlayer/DivXPlayer.dbf ]
then
rm -f ~/.divxPlayer/DivXPlayer.dbf
fi
exec ${PROGRAM}.bin "${@}"