Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

default for json_uri

  • Loading branch information...
commit 803aec1a48a187399189b1cd7a42d82b7c3daf59 1 parent 23f4227
Wayne E. Seguin wayneeseguin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  postgresql/shell/functions
2  postgresql/shell/functions
View
@@ -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" \
Please sign in to comment.
Something went wrong with that request. Please try again.