xbmc: dont clean logfiles if debugging is enabled

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

View File

@ -22,6 +22,8 @@
#
# runlevels: openelec
progress "clean up log files"
rm -f /storage/.xbmc/userdata/addon_data/*/*.log 2>/dev/null
rm -rf /storage/.xbmc/userdata/addon_data/*/log/* 2>/dev/null
if [ ! "$DEBUG" = "yes" ]; then
progress "clean up log files"
rm -f /storage/.xbmc/userdata/addon_data/*/*.log 2>/dev/null
rm -rf /storage/.xbmc/userdata/addon_data/*/log/* 2>/dev/null
fi