chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / pandoc / install.sh
index 5141a0fc10b9c16921fdbb2faccca3dbd5a34746..18e9625ab18014817637a72ca65ff3b742f0bb84 100644 (file)
@@ -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