Update postgres.sh

This commit is contained in:
FusionPBX 2017-04-24 23:21:49 -06:00 committed by GitHub
parent 18b584f39d
commit 1323e263b2
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ cd "$(dirname "$0")"
. ./config.sh
. ./colors.sh
#install the dependencies
pkg install --yes sudo
#move to /tmp to prevent an error when running sudo with psql
cwd=$(pwd)
cd /tmp