X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=pandoc%2Finstall.sh;h=f3b59c0331f2234586d7a84ba4f3700452df3fb3;hb=4edf137e5d6b65f9ac847db6694ac387c7e91f3e;hp=b69a5857e9780032e38866cfc08b57ed696ba420;hpb=00f34e0c96799220a0392787644f193984634ee4;p=webi-installers%2F.git diff --git a/pandoc/install.sh b/pandoc/install.sh index b69a585..f3b59c0 100644 --- 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 # @@ -38,6 +40,8 @@ # for a particular purpose. # This trims it down to just the version number: # 2.10.1 - echo $(pandoc --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2) + echo $(pandoc --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2) } } + +__init_pandoc