New step to setup official repository for the latest version

This commit is contained in:
2020-04-16 17:17:38 +02:00
parent c4a796851d
commit 6099b25517

View File

@@ -8,6 +8,7 @@ databasePackages="mariadb-server mariadb-client"
step_1_info() { step_1_info() {
echo "Installation of ${databaseName} packages:" echo "Installation of ${databaseName} packages:"
echoinfo "$databasePackages" echoinfo "$databasePackages"
echoinfo "(Consider step \"latest\" first to setup official repository with the latest version)"
} }
step_1_alias() { ALIAS=install; } step_1_alias() { ALIAS=install; }
step_1() { step_1() {
@@ -38,6 +39,12 @@ lower_case_table_names=0
#innodb_force_recovery=6" #innodb_force_recovery=6"
step_8_info() { echo "Setup ubuntu $databaseName repository"; }
step_8_alias() { ALIAS="latest"; }
step_8() {
exep "curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --skip-maxscale --skip-tools"
}
step_10_info() { echo "Create mysql database without specific characterset"; } step_10_info() { echo "Create mysql database without specific characterset"; }
step_10_alias() { ALIAS="createdb"; } step_10_alias() { ALIAS="createdb"; }
step_10() { step_10() {