git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/aux/git-checkers/.readmegen-debian
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-11-01 13:30:58 +0100
committerH. P. <harald.p.@xmart.de> 2018-11-01 13:30:58 +0100
commit0632591996893fe136a1f2fe44d9b9f404f41f3e (patch)
tree7340edbe7c212da3db45a83219147143a3268c8d /aux/git-checkers/.readmegen-debian
downloadfedora-laptop-0632591996893fe136a1f2fe44d9b9f404f41f3e.tar.bz2
Initial commit
Diffstat (limited to 'aux/git-checkers/.readmegen-debian')
-rwxr-xr-xaux/git-checkers/.readmegen-debian13
1 files changed, 13 insertions, 0 deletions
diff --git a/aux/git-checkers/.readmegen-debian b/aux/git-checkers/.readmegen-debian
new file mode 100755
index 0000000..e44d915
--- /dev/null
+++ b/aux/git-checkers/.readmegen-debian
@@ -0,0 +1,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