forked from qo-op/bunkerbox
if missing
This commit is contained in:
parent
df31f3bfb5
commit
42739ab8ca
|
@ -175,7 +175,7 @@ echo "##########################################################################
|
|||
echo "MISE A JOUR ~/.zen/bunkerbox/history.json"
|
||||
[[ "$(cat ~/.zen/bunkerbox/$VUID/media/history.json)" == "" ]] && echo "FATAL ERROR" && exit 1
|
||||
# Upgrade local history.json with reverse current one
|
||||
[[ -f ~/.zen/bunkerbox/$VUID/media/history.json ]]; then
|
||||
if [[ -f ~/.zen/bunkerbox/$VUID/media/history.json ]]; then
|
||||
echo '{
|
||||
"Videos":' > ~/.zen/bunkerbox/history.json
|
||||
cat ~/.zen/bunkerbox/$VUID/media/history.json | jq '.[] | reverse' >> ~/.zen/bunkerbox/history.json
|
||||
|
|
Loading…
Reference in New Issue