forked from norman/fusionpbx-install.sh-github-mirror
Update empty.sh
This commit is contained in:
9
debian/resources/postgresql/empty.sh
vendored
9
debian/resources/postgresql/empty.sh
vendored
@@ -4,6 +4,15 @@
|
||||
db_host=127.0.0.1
|
||||
db_port=5432
|
||||
|
||||
#move to script directory so all relative paths work
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
#includes
|
||||
. ./config.sh
|
||||
|
||||
#set the database password
|
||||
export PGPASSWORD=$database_password
|
||||
|
||||
#set the date
|
||||
now=$(date +%Y-%m-%d)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user