updated README
This commit is contained in:
parent
9efad2f2cf
commit
56678066cc
@ -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
|
||||
|
||||
|
@ -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 {} \;
|
||||
|
Reference in New Issue
Block a user