zip / unzip quiet

This commit is contained in:
Jake Howard 2017-09-09 20:03:27 +01:00
parent 2827392c9d
commit ec14c9f59b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -37,7 +37,7 @@ rm $LIB_DIR/sciter.zip
echo "> Installing CSLs..." echo "> Installing CSLs..."
wget https://github.com/citation-style-language/styles-distribution/archive/master.zip -O $LIB_DIR/$CSL_DL wget https://github.com/citation-style-language/styles-distribution/archive/master.zip -O $LIB_DIR/$CSL_DL
unzip $LIB_DIR/$CSL_DL -d $CSL_TEMP unzip -q $LIB_DIR/$CSL_DL -d $CSL_TEMP
cd $CSL_TEMP/styles-distribution-master && rm -rf dependent/ README.md renamed-styles.json && cd - cd $CSL_TEMP/styles-distribution-master && rm -rf dependent/ README.md renamed-styles.json && cd -
zip -jr $LIB_DIR/csl.zip $CSL_TEMP/styles-distribution-master zip -jqr $LIB_DIR/csl.zip $CSL_TEMP/styles-distribution-master
rm -rf $CSL_TEMP $LIB_DIR/$CSL_DL rm -rf $CSL_TEMP $LIB_DIR/$CSL_DL