Skip to content

Commit 437727c

Browse files
committed
fix(stacks): postgresql bug
1 parent 3a54d72 commit 437727c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

stacks/postgresql/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ EOF
9898
cat << EOF > "${PROFILE_DIR}/${STACK_NAME}.sh"
9999
export PATH="/opt/drycc/postgresql/$PG_MAJOR/bin:\$PATH"
100100
EOF
101-
rm postgresql-${STACK_VERSION}
102101
cp -rf /opt/drycc/postgresql/* "${DATA_DIR}"
102+
cd ../ && rm "postgresql-${STACK_VERSION}" -rf
103103
}
104104

105105
# call build stack
106-
build-stack "${1}"
106+
build-stack "${1}"
107+

0 commit comments

Comments
 (0)