From f8d34ee6a8de3fe64339a2d1cbce767cbee2e520 Mon Sep 17 00:00:00 2001
From: Spacelord <Spacelord09@users.noreply.github.com>
Date: Fri, 6 Dec 2019 22:06:18 +0100
Subject: Fix git checkout error with git init

---
 installer.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/installer.sh b/installer.sh
index 6d438a7..eab9f50 100644
--- a/installer.sh
+++ b/installer.sh
@@ -40,6 +40,7 @@ INSTALL-PREP () {
     git clone https://github.com/cbdevnet/midimonster.git "$tmp_path" # Gets Midimonster
     Iversion=(git describe --abbrev=0)                            # Get last tag(stable version)
     echo "Starting Git checkout to "$Iversion""
+    git init $tmp_path
     git checkout $Iversion $tmp_path
 
     echo ""
-- 
cgit v1.2.3