xbmc: clean temp dir before starting

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-23 00:09:46 +02:00
parent 9d30d2b116
commit b29cc38586

View File

@ -30,6 +30,9 @@ progress "starting XBMC"
XBMC_ARGS="--standalone -fs --lircdev /dev/lircd" XBMC_ARGS="--standalone -fs --lircdev /dev/lircd"
# clean temp dir
rm -rf $HOME/.xbmc/temp/*
# starting autoupdate # starting autoupdate
[ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate & [ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate &