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): add shebang, set bash strict mode, create function
[webi-installers/.git]
/
pandoc
/
install.sh
diff --git
a/pandoc/install.sh
b/pandoc/install.sh
index 5141a0fc10b9c16921fdbb2faccca3dbd5a34746..f3b59c0331f2234586d7a84ba4f3700452df3fb3 100644
(file)
--- a/
pandoc/install.sh
+++ b/
pandoc/install.sh
@@
-1,6
+1,8
@@
-{
- set -e
- set -u
+#!/bin/bash
+set -e
+set -u
+
+function __init_pandoc() {
###################
# Install pandoc #
@@
-41,3
+43,5
@@
echo $(pandoc --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
}
}
+
+__init_pandoc