diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index 7bf399f..b8ca299 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -9,12 +9,14 @@ echo "" echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" #cd /tmp + #wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb #do_with_root dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb #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 diff --git a/uninstall-mysqlbu.sh b/uninstall-mysqlbu.sh index 63ad311..fd72ec5 100755 --- a/uninstall-mysqlbu.sh +++ b/uninstall-mysqlbu.sh @@ -11,7 +11,7 @@ fi echo "" echo -e "${idsCL[LightGreen]}MySQL-BU Removal Script${idsCL[Default]}" -apt remove --purge -y percona-xtrabackup* +#apt remove --purge -y percona-xtrabackup* do_with_root set -eu rm -f /usr/local/bin/mysqlbu