xbmc: dont clean temp dir if debugging is enabled

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-02-10 00:19:41 +01:00
parent a8fc6b71a4
commit 7b1a13f1fe

View File

@ -27,7 +27,11 @@ progress "setup XBMC"
#
# clean temp dir
#
rm -rf $HOME/.xbmc/temp/*
# hack... we should always clean this temp dir, but we should keep
# the logfiles in debug mode
if [ ! "$DEBUG" = "yes" ]; then
rm -rf $HOME/.xbmc/temp/*
fi
#
# add some default settings