mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: dont clean logfiles if debugging is enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7b1a13f1fe
commit
27f93eee21
@ -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
|
Loading…
x
Reference in New Issue
Block a user