File tree Expand file tree Collapse file tree 8 files changed +25
-25
lines changed Expand file tree Collapse file tree 8 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- postgres/postgresql-9.4.6 .tar.gz :
3
- object_id : 67f068b8-1a22-477b-8a82-f10ae8f6110e
4
- sha : bd031beebd86bf149c497525dccf57eebe5a6add
5
- size : 23249307
2
+ postgres/postgresql-9.4.9 .tar.gz :
3
+ object_id : ce1610e4-8865-4210-95b8-2ae747e35e19
4
+ sha : c9d641eb69885672e5aacee413cd778d88b8420d
5
+ size : 23300245
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ templates:
12
12
13
13
packages:
14
14
- postgres-common
15
- - postgres-9.4.6
15
+ - postgres-9.4.9
16
16
17
17
properties:
18
18
databases.db_scheme:
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function main() {
8
8
action=" ${1} "
9
9
10
10
local pgversion
11
- pgversion=" postgres-9.4.6 "
11
+ pgversion=" postgres-9.4.9 "
12
12
13
13
JOB_DIR=/var/vcap/jobs/postgres
14
14
PACKAGE_DIR=" /var/vcap/packages/${pgversion} "
@@ -18,16 +18,16 @@ function main() {
18
18
PACKAGE_DIR_OLD=/var/vcap/packages/postgres-unknown
19
19
DATA_DIR_OLD=" ${STORE_DIR} /postgres-unknown"
20
20
21
+ if [[ -d " ${STORE_DIR} /postgres-9.4.6" ]]; then
22
+ DATA_DIR_OLD=" ${STORE_DIR} /postgres-9.4.6"
23
+ PACKAGE_DIR_OLD=/var/vcap/packages/postgres-9.4.6
24
+ fi
25
+
21
26
if [[ -d " ${STORE_DIR} /postgres-9.4.5" ]]; then
22
27
DATA_DIR_OLD=" ${STORE_DIR} /postgres-9.4.5"
23
28
PACKAGE_DIR_OLD=/var/vcap/packages/postgres-9.4.5
24
29
fi
25
30
26
- if [[ -d " ${STORE_DIR} /postgres-9.4.2" ]]; then
27
- DATA_DIR_OLD=" ${STORE_DIR} /postgres-9.4.2"
28
- PACKAGE_DIR_OLD=/var/vcap/packages/postgres-9.4.2
29
- fi
30
-
31
31
RUN_DIR=/var/vcap/sys/run/postgres
32
32
LOG_DIR=/var/vcap/sys/log/postgres
33
33
Original file line number Diff line number Diff line change 2
2
3
3
function main() {
4
4
local pgversion
5
- pgversion=" postgres-9.4.6 "
5
+ pgversion=" postgres-9.4.9 "
6
6
7
7
JOB_DIR=/var/vcap/jobs/postgres
8
8
PACKAGE_DIR=" /var/vcap/packages/${pgversion} "
@@ -12,8 +12,8 @@ function main() {
12
12
DATA_DIR_PREVIOUS=" ${STORE_DIR} /postgres-previous"
13
13
DATA_DIR_OLD=" ${STORE_DIR} /postgres-unknown"
14
14
15
- if [ -d " ${STORE_DIR} /postgres-9.4.2 " -a -f " ${STORE_DIR} /postgres-9.4.2 /postgresql.conf" ]; then
16
- DATA_DIR_OLD=" ${STORE_DIR} /postgres-9.4.2 "
15
+ if [ -d " ${STORE_DIR} /postgres-9.4.6 " -a -f " ${STORE_DIR} /postgres-9.4.6 /postgresql.conf" ]; then
16
+ DATA_DIR_OLD=" ${STORE_DIR} /postgres-9.4.6 "
17
17
fi
18
18
19
19
if [ -d " ${STORE_DIR} /postgres-9.4.5" -a -f " ${STORE_DIR} /postgres-9.4.5/postgresql.conf" ]; then
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -exu
2
2
3
- pgversion=" postgres-9.4.6 "
3
+ pgversion=" postgres-9.4.9 "
4
4
LOG_DIR=/var/vcap/sys/log/postgres
5
5
STORE_DIR=/var/vcap/store
6
6
DATA_DIR=" ${STORE_DIR} /${pgversion} "
@@ -11,16 +11,16 @@ DATA_DIR_PREVIOUS="${STORE_DIR}/postgres-previous"
11
11
DATA_DIR_OLD=" ${STORE_DIR} /postgres-unknown"
12
12
13
13
function main() {
14
+ if [[ -d " ${STORE_DIR} /postgres-9.4.6" ]]; then
15
+ chown -R vcap:vcap " ${STORE_DIR} /postgres-9.4.6"
16
+ chmod 700 " ${STORE_DIR} /postgres-9.4.6"
17
+ fi
18
+
14
19
if [[ -d " ${STORE_DIR} /postgres-9.4.5" ]]; then
15
20
chown -R vcap:vcap " ${STORE_DIR} /postgres-9.4.5"
16
21
chmod 700 " ${STORE_DIR} /postgres-9.4.5"
17
22
fi
18
23
19
- if [[ -d " ${STORE_DIR} /postgres-9.4.2" ]]; then
20
- chown -R vcap:vcap " ${STORE_DIR} /postgres-9.4.2"
21
- chmod 700 " ${STORE_DIR} /postgres-9.4.2"
22
- fi
23
-
24
24
mkdir -p " ${LOG_DIR} "
25
25
chown -R vcap:vcap " ${LOG_DIR} "
26
26
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
function main() {
4
4
local pgversion
5
- pgversion=" postgresql-9.4.6 "
5
+ pgversion=" postgresql-9.4.9 "
6
6
7
7
extract_archive " ${pgversion} "
8
8
compile " ${pgversion} "
Original file line number Diff line number Diff line change
1
+ ---
2
+ name: postgres-9.4.9
3
+ files:
4
+ - postgres/postgresql-9.4.9.tar.gz
You can’t perform that action at this time.
0 commit comments