diff --git a/README.md b/README.md index 96bf34e9..e99f7be3 100644 --- a/README.md +++ b/README.md @@ -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 **197 extension folders** with **337 .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 **204 extension folders** with **366 .inx files** inside. We also take part at https://inkscape.org/gallery/=extension/ (with single extension uploads). # About MightyScape diff --git a/extensions/fablabchemnitz/000_validate.sh b/extensions/fablabchemnitz/000_validate.sh index 2a66e9c6..7b8e0cf8 100755 --- a/extensions/fablabchemnitz/000_validate.sh +++ b/extensions/fablabchemnitz/000_validate.sh @@ -4,12 +4,17 @@ for folder in */ ; do xmllint --noout --relaxng ./inkscape.extension.rng $folder echo "Count of inx files:" -find ./ -type f -name "*.inx" | wc -l - +INX=$(find ./ -type f -name "*.inx" | wc -l) +echo INX: $INX echo "Count of extension folders:" -ls -d */ | wc -l +FOLDERS=$(ls -d */ | wc -l) +echo FOLDERS: $FOLDERS +README="../../README.md" +#replace values in README.md +sed -i 's/\*\*.* extension folders\*\*/\*\*'${FOLDERS}' extension folders\*\*/g' ${README} +sed -i 's/\*\* with .* \.inx files\*\*/\*\* with \*\*'${INX}' \.inx files\*\*/g' ${README} echo "Removing unrequired pyc cache files" find . -type d -name "__pycache__" -exec rm -rf {} \;