mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
packages/sysutils/busybox/scripts/createlog: create .zip instead of .tar.bz2
Adds compatibilty with Windows users so they wont need extra tools. Adds a small increase in the size of the compressed logs
This commit is contained in:
parent
3872fd7415
commit
aa99ff9023
@ -85,7 +85,7 @@ mkdir -p $BASEDIR/$LOGDIR
|
||||
|
||||
# pack logfiles
|
||||
mkdir -p /storage/logfiles
|
||||
tar cvjf /storage/logfiles/log-$DATE.tar.bz2 $LOGDIR -C $BASEDIR
|
||||
|
||||
# tar cvjf /storage/logfiles/log-$DATE.tar.bz2 $LOGDIR -C $BASEDIR
|
||||
zip -jq /storage/logfiles/log-$DATE.zip $BASEDIR/$LOGDIR/*
|
||||
# remove logdir
|
||||
rm -rf $BASEDIR/$LOGDIR
|
||||
rm -rf $BASEDIR/$LOGDIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user