Update overlay

This commit is contained in:
speedie 2022-11-11 16:09:54 +01:00
parent 10d482694f
commit 885050c17c
3 changed files with 12 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -125,7 +125,6 @@ The ebuilds are liensed under the GPLv2-only license due to Gentoo's licensing.
│   ├── rchat-0.4.ebuild
│   ├── rchat-0.5.ebuild
│   └── rchat-9999.ebuild
├── push.sh
├── www-client
│   └── icecat-bin
│   ├── files

15
push.sh
View file

@ -1,10 +1,17 @@
#!/bin/sh
git add *
#tree -I md5 | grep -vE "profiles|metadata|md5|Manifest|README|xml|repo_name|conf|directories|push" > .tree
tree -I md5 | grep -vE "profiles|metadata|md5|Manifest|README|xml|repo_name|conf|directories|push" | sed -e 's/| \+/ /g' -e 's/[|`]-\+/ */g' -e 's:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g' -e 's/^\( \* \)/├──/gm' -e 's/^\( \* \)/ └──/gm' -e 's/^\( \* \)/ └──/gm' > .tree
tree -I md5 | grep -vE "profiles|metadata|md5|Manifest|README|xml|repo_name|conf|directories|push|tree" > .tree-orig
tree -I md5 | grep -vE "profiles|metadata|md5|Manifest|README|xml|repo_name|conf|directories|push|tree" | sed -e 's/| \+/ /g' -e 's/[|`]-\+/ */g' -e 's:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g' -e 's/^\( \* \)/├──/gm' -e 's/^\( \* \)/ └──/gm' -e 's/^\( \* \)/ └──/gm' > .tree
cp -f README.tp.md README.md
printf "\n## List of all ebuilds\n" >> README.md
cat .tree-orig >> README.md
markdown README.md > README.html
cp -f README.tp.md README.md
printf "\n## List of all ebuilds\n" >> README.md
cat .tree >> README.md
markdown README.md > README.html
rm -f .tree
rm -f .tree .tree-orig
git commit -m "Update overlay" && git push && printf "Successfully pushed\n"