From: Frank Brehm Date: Tue, 14 Jan 2025 08:54:59 +0000 (+0100) Subject: Fixing clean_old_backups() in bin/manual-backup X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fd9086dd2cff8e4558179229fca707a4817285b6;p=pixelpark%2Fadmin-tools.git Fixing clean_old_backups() in bin/manual-backup --- diff --git a/bin/manual-backup b/bin/manual-backup index 2b0ab62..b9a2671 100755 --- a/bin/manual-backup +++ b/bin/manual-backup @@ -542,7 +542,7 @@ clean_old_backups() { continue fi - if [[ "${bdir_base}" =~ ^20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]$ ]] ; then + if [[ "${bdir_base}" =~ ^20[0-9][0-9]-[0-9][0-9]-[0-9][0-9](\.[0-9][0-9]*)?$ ]] ; then : else continue