Merge branch 'master' of https://git.schroedercity.com/voltron/Misc-Scripts
This commit is contained in:
@@ -16,7 +16,7 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
|
|||||||
#do_with_root $APTFUNC update
|
#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 $APTFUNC -y install wget curl git mariadb-backup
|
||||||
|
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
if [ ! -d "/opt/idssys/settings" ]; then
|
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
|
do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p "/opt/idssys/backups/mysql-backups"
|
||||||
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${idsCL[Yellow]}MySQL-BU has been Installed${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}MySQL-BU has been Installed${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user