bugfix(misc): fix kind, gprox, myip, pandoc
[webi-installers/.git] / pandoc / install.sh
index b69a5857e9780032e38866cfc08b57ed696ba420..2ab940b55e97a845b4d74be16838316a5cec4136 100644 (file)
@@ -1,4 +1,6 @@
-{
+#!/bin/bash
+
+function __init_pandoc() {
     set -e
     set -u
 
@@ -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