updated README

This commit is contained in:
Mario Voigt 2021-07-07 23:51:13 +02:00
parent 9efad2f2cf
commit 56678066cc
2 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# MightyScape for Inkscape 1.0+ # 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 # About MightyScape

View File

@ -4,12 +4,17 @@ for folder in */ ; do xmllint --noout --relaxng ./inkscape.extension.rng $folder
echo "Count of inx files:" 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:" 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" echo "Removing unrequired pyc cache files"
find . -type d -name "__pycache__" -exec rm -rf {} \; find . -type d -name "__pycache__" -exec rm -rf {} \;