From 5dcf1140fad1b0af2dd09831a628d3b5580b1ff3 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sat, 13 Aug 2016 11:54:41 +0100
Subject: [PATCH] Check if installing to mesh

---
 src/freedombone-app-ipfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs
index 8f6b68fa6..a4d1cdbff 100755
--- a/src/freedombone-app-ipfs
+++ b/src/freedombone-app-ipfs
@@ -266,7 +266,7 @@ function mesh_install_ipfs_js {
 }
 
 function install_ipfs_js {
-    if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
+    if [ $INSTALLING_MESH ]; then
         mesh_install_ipfs_js
         return
     fi
-- 
GitLab