handle new dir

This commit is contained in:
wh1te909 2023-07-07 03:59:48 +00:00
parent 6532b0f149
commit 30195800dd
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
SCRIPT_VERSION="26"
SCRIPT_VERSION="27"
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
@ -49,6 +49,10 @@ if [ -d /meshcentral/meshcentral-backup ]; then
rm -rf /meshcentral/meshcentral-backup/*
fi
if [ -d /meshcentral/meshcentral-backups ]; then
rm -rf /meshcentral/meshcentral-backups/*
fi
if [ -d /meshcentral/meshcentral-coredumps ]; then
rm -f /meshcentral/meshcentral-coredumps/*
fi