git.lirion.de

Of git, get, and gud

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

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