Merge "Fixed non-bashate compliance indentation in mariadb script"
This commit is contained in:
commit
5e610ff5c5
@ -32,7 +32,7 @@ EOSQL
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$MARIADB_USER" -a "$MARIADB_PASSWORD" ]; then
|
if [ "$MARIADB_USER" -a "$MARIADB_PASSWORD" ]; then
|
||||||
echo "CREATE USER '$MARIADB_USER'@'%' IDENTIFIED BY '$MARIADB_PASSWORD' ;" >> "$TEMP_FILE"
|
echo "CREATE USER '$MARIADB_USER'@'%' IDENTIFIED BY '$MARIADB_PASSWORD' ;" >> "$TEMP_FILE"
|
||||||
|
|
||||||
if [ "$MARIADB_DATABASE" ]; then
|
if [ "$MARIADB_DATABASE" ]; then
|
||||||
echo "GRANT ALL ON $MARIADB_DATABASE.* TO '$MARIADB_USER'@'%' ;" >> "$TEMP_FILE"
|
echo "GRANT ALL ON $MARIADB_DATABASE.* TO '$MARIADB_USER'@'%' ;" >> "$TEMP_FILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user