From ae4516002e860b834ad05aa86ca907b41c626181 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Wed, 20 Jul 2016 09:32:17 +0200
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2e06f4089..5cc3ea551 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ update(144.76.113.134):
     - chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
     - chmod -R 777 storage
     - chmod -R 777 bootstrap/cache
-    - php ~/MetaGer/artisan down
+    -if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
     - cd ~/
     - rm -rf MetaGer
     - mv MetaGer_neu MetaGer
@@ -64,7 +64,7 @@ update(metager3.de):
     - chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
     - chmod -R 777 storage
     - chmod -R 777 bootstrap/cache
-    - php ~/MetaGer/artisan down
+    -if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
     - cd ~/
     - rm -rf MetaGer
     - mv MetaGer_neu MetaGer
-- 
GitLab