SHA256
1
0
forked from pool/MirrorCache
MirrorCache/update-cache.sh

21 lines
321 B
Bash
Raw Normal View History

#! /bin/sh
set -e
export LC_ALL='en_US.UTF-8'
export LANG='en_US.UTF-8'
osc up
rm -f _service\:*
rm -f *.tar *.cpio
osc service lr
# special call for tar buildtime service
osc service lr tar
SD=$PWD
cd MirrorCache
tools/generate-packed-assets
tar cvjf ../cache.tar.xz assets/cache assets/assetpack.db
cd "$SD"
osc up