Skip to content

Commit fc2c583

Browse files
committed
Uses ~/.pgpass for all
1 parent 1400ce6 commit fc2c583

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spryker/usr/local/share/spryker/spryker_functions.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ do_spryker_app_permissions() {
4949

5050
do_spryker_config_create() (
5151
set +x
52-
if [ "$NON_PRIVELEGED_USER" = "true" ]; then
53-
local target=~/.pgpass
54-
else
55-
local target=/root/.pgpass
56-
fi
52+
local target=~/.pgpass
5753

5854
echo "Creating Postgres Credentials file in "$target
5955
# create .pgpass in home directory for postgres client

0 commit comments

Comments
 (0)