From 32447b49ff20b700b5fa4abb0ae6c1cffa665a85 Mon Sep 17 00:00:00 2001 From: mirocow Date: Thu, 24 Dec 2015 15:18:04 +0400 Subject: [PATCH] Update restore.sh --- restore.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/restore.sh b/restore.sh index 22fbf4d..62a4f45 100644 --- a/restore.sh +++ b/restore.sh @@ -6,6 +6,10 @@ BIN_DEPS='bunzip2 bzip2 mysql' MYCNF='/etc/mysql/debian.cnf' MYDATA='/var/lib/mysql' +# === DO NOT EDIT BELOW THIS LINE === + +if [ ! -n "$BASH" ] ;then echo Please run this script $0 with bash; exit 1; fi + # === FUNCTIONS === database_exists() {