diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index 53621eb..a803ca2 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -15,8 +15,8 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" #do_with_root percona-release enable-only tools release #do_with_root $APTFUNC update -#do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -#do_with_root $APTFUNC -y install wget curl git mariadb-backup +do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash +do_with_root $APTFUNC -y install wget curl git mariadb-backup do_with_root set -eu if [ ! -d "/opt/idssys/settings" ]; then @@ -39,6 +39,8 @@ if [ ! -d "/opt/idssys/defaults" ]; then do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults fi +mkdir -p "/opt/idssys/backups/mysql-backups" + echo "" echo -e "${idsCL[Yellow]}MySQL-BU has been Installed${idsCL[Default]}"