From a9f3d8cf0ef35de5b824d8148237fe1b0611fa37 Mon Sep 17 00:00:00 2001
From: TheBroTMv2 <tobias-mueller@outlook.de>
Date: Wed, 3 Mar 2021 00:39:47 +0100
Subject: [PATCH] Update test.sh

---
 test.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/test.sh b/test.sh
index 1e8d6f7..5c34f94 100644
--- a/test.sh
+++ b/test.sh
@@ -26,4 +26,12 @@ echo "Optionale Tests:"
 echo "Backup Job in cron found?"
 cat /etc/cron.d/backup
 
-ls -lanR /papermc/plugins/dynmap/web/standalone
+if [ -d "/papermc/plugins/dynmap/web/standanlone" ]
+ then 
+   echo "Dynmap exists: Test_Passed" 
+   echo "Check permissions manually:"
+   ls -lanR /papermc/plugins/dynmap/web/standalone
+ else 
+   echo "Backup: Test_Failed"
+   echo "Dynmap nicht vorhanden"
+fi
\ No newline at end of file
-- 
GitLab