Update install-mysqlbu.sh

This commit is contained in:
2019-01-30 01:11:19 -06:00
parent cd2f2374e5
commit 82fd6a8132

View File

@@ -5,9 +5,6 @@ source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)"
source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)"
if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"
else APTFUNC="${ATYPE}"
fi
echo ""
echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
@@ -16,7 +13,7 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
#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 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