mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
xbmc: dont clean logfiles if debugging is enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user