From 2fbba1254c216b7e0d8b02b38a3c61e6d3f934e0 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Thu, 27 May 2021 11:57:40 +0200
Subject: [PATCH] v0.4 FIX first install

---
 deploy_app.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/deploy_app.sh b/deploy_app.sh
index d55088b..783b2a9 100755
--- a/deploy_app.sh
+++ b/deploy_app.sh
@@ -7,6 +7,7 @@
 # 2021-04-19  v0.1  <axel.hahn@iml.unibe.ch>  initial version
 # 2021-05-09  v0.2  <axel.hahn@iml.unibe.ch>  chown includes dot files
 # 2021-05-14  v0.3  <axel.hahn@iml.unibe.ch>  add params (list, force, help)
+# 2021-05-27  v0.4  <axel.hahn@iml.unibe.ch>  FIX first install
 # ======================================================================
 
 
@@ -136,7 +137,7 @@ function deploy(){
         fi
     else
         echo "INFO: last download not available - first install or a forced update."
-        isupdate=$isupdate+0
+        isupdate=$isupdate+1
         mv "${downloadtmp}" "${downloadfile}"
     fi
     ls -l "${downloadfile}"
-- 
GitLab