added some zip file mirror script, updated readme

This commit is contained in:
Mario Voigt 2021-10-24 20:16:11 +02:00
parent 77fcd7a08a
commit 2e18ef9cd0
2 changed files with 27 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# MightyScape for Inkscape 1.0+
In short: A maintained extension collection for Inkscape 1.0+, working on Windows and Linux. There are **231 extension folders** with **402 .inx files** inside. We also take part at https://inkscape.org/gallery/=extension/ (with single extension uploads).
In short: A maintained extension collection for Inkscape 1.0+, working on Windows and Linux. There are **233 extension folders** with **406 .inx files** inside. We also take part at https://inkscape.org/gallery/=extension/ (with single extension uploads).
# About MightyScape
@ -64,3 +64,9 @@ https://y.stadtfabrikanten.org/donate
This repo has two remotes:
* https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X (root repo origin)
* https://github.com/vmario89/mightyscape-1.X (repo for collaboration. You can create your issues here. Active since May 2021)
# Zip Archives Mirrors
If you only want to download single parts of MightyScape, use one of the following mirrors:
* https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X-zipmirror
* https://github.com/vmario89/mightyscape-1.X-zipmirror

View File

@ -0,0 +1,20 @@
#!/bin/bash
clear
echo "Building extension zip files"
TARGETDIR="../../../mightyscape-1.X-zipmirror"
mkdir -p $TARGETDIR > /dev/null 2>&1
for EXTENSION in */; do
EXTENSION="${EXTENSION%/}" #strip trailing slash
EXTRA=""
if [[ $EXTENSION == "styles_to_layers" ]] || [[ $EXTENSION == "ungrouper_and_element_migrator_filter" ]]; then
EXTRA="${EXTRA} apply_transformations/"
elif [[ $EXTENSION == "styles_to_layers" ]] || [[ $EXTENSION == "ungrouper_and_element_migrator_filter" ]]; then
EXTRA="${EXTRA} remove_empty_groups/"
fi
ZIPFILE=$TARGETDIR/$EXTENSION.zip
zip -ru $ZIPFILE $EXTENSION/ 000_about_fablabchemnitz.svg $EXTRA > /dev/null 2>&1
echo "--> creating/updating $ZIPFILE"
done