File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3117,7 +3117,8 @@ function setup_mariadb_db() {
31173117
31183118 $STD mariadb -u root -e " FLUSH PRIVILEGES;"
31193119
3120- local CREDS_FILE=" ${MARIADB_DB_CREDS_FILE:- ${HOME} / ${APPLICATION} .creds} "
3120+ local app_name=" ${APPLICATION,,} "
3121+ local CREDS_FILE=" ${MARIADB_DB_CREDS_FILE:- ${HOME} / ${app_name} .creds} "
31213122 {
31223123 echo " MariaDB Credentials"
31233124 echo " Database: $MARIADB_DB_NAME "
@@ -4035,7 +4036,8 @@ function setup_postgresql_db() {
40354036 fi
40364037
40374038 # Save credentials
4038- local CREDS_FILE=" ${PG_DB_CREDS_FILE:- ${HOME} / ${APPLICATION} .creds} "
4039+ local app_name=" ${APPLICATION,,} "
4040+ local CREDS_FILE=" ${PG_DB_CREDS_FILE:- ${HOME} / ${app_name} .creds} "
40394041 {
40404042 echo " PostgreSQL Credentials"
40414043 echo " Database: $PG_DB_NAME "
You can’t perform that action at this time.
0 commit comments