git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/aux/git-checkers/.readmegen-suse
blob: 06af7670d0439059a015fb7879973ccd694f2480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

. /lib/lsb/init-functions
rc_reset
echo -n "Generating Readme.md"
cat .readme.md-head>README.md
[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
#        _æ_ echo '```'>>README.md
tree -f "$(pwd)" >> README.md
[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
./urlinjector README.md
[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1
#        _æ_ echo '```'>>README.md
rc_status -v&&exit 0