Skip to content

Commit

Permalink
handle new dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Jul 7, 2023
1 parent 6532b0f commit 3019580
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

SCRIPT_VERSION="26"
SCRIPT_VERSION="27"

GREEN='\033[0;32m'
YELLOW='\033[1;33m'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3019580

Please sign in to comment.