File tree 11 files changed +22
-22
lines changed
11 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ "$1" = 'postgres' ]; then
112
112
psql+=( --username " $POSTGRES_USER " --dbname " $POSTGRES_DB " )
113
113
114
114
# If you want to create more than one user, please use that variable
115
- # Variable example: POSTGRES_USER ="user1:user1pass|user2:user2pass|user3:user3password"
115
+ # Variable example: POSTGRES_USERS ="user1:user1pass|user2:user2pass|user3:user3password"
116
116
if [ " $POSTGRES_USERS " ]; then
117
117
USERS_ARR=$( echo $POSTGRES_USERS | tr " |" " \n" )
118
118
for USER in $USERS_ARR
@@ -125,7 +125,7 @@ if [ "$1" = 'postgres' ]; then
125
125
op=' CREATE'
126
126
fi
127
127
" ${psql[@]} " --username postgres << -EOSQL
128
- $op USER "$USER_NAME " WITH SUPERUSER PASSWORD $USER_PASSWORD ;
128
+ $op USER "$USER_NAME " WITH SUPERUSER PASSWORD " $USER_PASSWORD " ;
129
129
EOSQL
130
130
done
131
131
fi
You can’t perform that action at this time.
0 commit comments