From 24a4f149b6037239d284504f5e3ec46d48f6f759 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 7 Jan 2021 10:47:34 +0100
Subject: [PATCH] Fix selfupdate

---
 setup/scripts/setup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup/scripts/setup b/setup/scripts/setup
index b37fb38..ce94a1b 100755
--- a/setup/scripts/setup
+++ b/setup/scripts/setup
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/bin/sh
 
 cp /usr/local/bin/l3d /setup/l3d
 cp /usr/local/bin/prepareMac4L3d /setup/prepareMac4L3d
-if [[ -z ${NEWVERSION} ]]; then
+if [ "${NEWVERSION}" = "" ]; then
   docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION} 2>&1
 else
   docker pull registry.lakedrops.com/docker/l3d/run:latest 2>&1
-- 
GitLab