mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +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
|
# pack logfiles
|
||||||
mkdir -p /storage/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
|
# remove logdir
|
||||||
rm -rf $BASEDIR/$LOGDIR
|
rm -rf $BASEDIR/$LOGDIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user