Permalink
Browse files

default for json_uri

  • Loading branch information...
1 parent 23f4227 commit 803aec1a48a187399189b1cd7a42d82b7c3daf59 @wayneeseguin wayneeseguin committed Apr 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 postgresql/shell/functions
@@ -85,6 +85,8 @@ postgresql_defaults()
config read file "defaults" key "version" prefix "package" from "postgresql"
service_data_path="/var/db/postgresql/${package_version}/data"
+ [[ -n "${json_uri}" ]] || json_uri="${extension_path}/config/defaults.json"
+
json get from ${json_uri} \
into "postgresql_defaults" \
string "postgresql/version" default "${package_version}" as "version" \

0 comments on commit 803aec1

Please sign in to comment.