From 03e7b74b6b5bad9aa459ac0677dc5413b268e7e4 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Mon, 27 Apr 2020 17:45:38 +0200
Subject: [PATCH] Call sub-scripts via bash.

---
 install.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/install.sh b/install.sh
index e6b0d38..0dcaaf3 100755
--- a/install.sh
+++ b/install.sh
@@ -14,10 +14,10 @@ if [ $mode == "prod" ]; then
 fi
 
 echo "Installation System Packages ..."
-./script/install-system-packages.sh
+bash script/install-system-packages.sh
 
 echo "Installation OPAM Packages ..."
-./script/install-opam-packages.sh
+bash script/install-opam-packages.sh
 
 
 # Development 
@@ -71,7 +71,7 @@ echo "Create local Logs Folder ..."
 mkdir -p logs
 
 echo "Installing Web Application Packages ..."
-./script/install-web.sh
+bash script/install-web.sh
 
 echo "Installing Python Requirements ..."
 python3.7 $(which pip3) install -r requirements.txt
@@ -87,7 +87,7 @@ while true; do
 read -rsn1 input
 if [ "$input" = "1" ]; then
     echo "Creating DB for MariaDB ..."
-    ./script/init-db-mariadb.sh
+    bash script/init-db-mariadb.sh
     break
 fi
 if [ "$input" = "2" ]; then
-- 
GitLab