projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chore(style): convert blocks into functions (see #325)
[webi-installers/.git]
/
pandoc
/
install.sh
diff --git
a/pandoc/install.sh
b/pandoc/install.sh
index 5141a0fc10b9c16921fdbb2faccca3dbd5a34746..18e9625ab18014817637a72ca65ff3b742f0bb84 100644
(file)
--- a/
pandoc/install.sh
+++ b/
pandoc/install.sh
@@
-1,4
+1,5
@@
-{
+#!/bin/bash
+function __init_pandoc{
set -e
set -u
@@
-41,3
+42,5
@@
echo $(pandoc --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
}
}
+
+__init_pandoc