From 355b9ee1d1c9464d5536363b62093feea8931a60 Mon Sep 17 00:00:00 2001 From: ospalh Date: Sun, 27 Jul 2014 17:05:32 +0200 Subject: [PATCH] Also zip up only the main (i.e. not variant) kanji. --- updatepublic.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/updatepublic.sh b/updatepublic.sh index 838be457e1..849b6e84d0 100755 --- a/updatepublic.sh +++ b/updatepublic.sh @@ -2,7 +2,9 @@ d=`date +%Y%m%d` outFileOne="kanjivg-$d.xml.gz" outFileAll="kanjivg-$d-all.zip" -zip -r $outFileAll kanji +outFileMain="kanjivg-$d-main.zip" +zip -r $outFileAll kanji/*.svg +zip -r $outFileMain kanji/?????.svg ./kvg.py release gzip -c kanjivg.xml >$outFileOne #scp $outFileOne $outFileAll gnurou@gnurou.org:/srv/http/kanjivg/upload/Main/