From 62b783e4aeddee6a23e04cf84a017de0cbf6a899 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikl=C3=B3s=20T=C3=B3th?= <tothmiklostibor@gmail.com>
Date: Sun, 10 Jan 2021 23:32:36 +0100
Subject: [PATCH] better bootstrap.sh

---
 playbook-template/bootstrap.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 playbook-template/bootstrap.sh

diff --git a/playbook-template/bootstrap.sh b/playbook-template/bootstrap.sh
old mode 100644
new mode 100755
index cfe3f47..c9d6be5
--- a/playbook-template/bootstrap.sh
+++ b/playbook-template/bootstrap.sh
@@ -39,7 +39,7 @@ ansible-galaxy install -r requirements.galaxy.yml
 ansible-playbook -i inventory.yaml playbook.yml
 
 # to stay in our comfy virtualenv
-if [[ -n "$SHELL" ]]
+if [[ -z "$SHELL" ]]
 then
   SHELL="bash"
 fi
-- 
GitLab