Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 10:37:53 -06:00
parent 03e7661e11
commit 6787be40cf

View File

@@ -67,11 +67,13 @@ DELETE_BACKUP() {
case "$choice" in
[Yy])
if [ ${#1} = 1 ] || [ ${sbu1a[5]//-/:: -5} = "_BASE" ]; then
delbu="/${sbu1a[1]}/${sbu1a[2]}${sbu1a[3]}/${sbu1a[4]}"
else
delbu="/${sbu1a[1]}/${sbu1a[2]}${sbu1a[3]}/${sbu1a[4]}/${sbu1a[5]}"
fi
echo ""
echo $delbu
echo ""
echo -e "${idsCL[LightRed]}Backup has been deleted${idsCL[Default]}"
read -n 1 -s -p "Press any key to continue";;