diff --git a/test.sh b/test.sh index 1e8d6f7ffe2710555e9cbd2c57a9d7fafe3d8bae..5c34f941d2e01c9a7f6969d3c819d04adede1471 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