diff options
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/postgresql.init')
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/postgresql.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/postgresql.init b/meta-oe/recipes-dbs/postgresql/files/postgresql.init index 4a4f0cd168..1791e68b58 100644 --- a/meta-oe/recipes-dbs/postgresql/files/postgresql.init +++ b/meta-oe/recipes-dbs/postgresql/files/postgresql.init | |||
@@ -14,8 +14,8 @@ | |||
14 | # PGVERSION is the full package version, e.g., 8.4.0 | 14 | # PGVERSION is the full package version, e.g., 8.4.0 |
15 | # Note: the specfile inserts the correct value during package build | 15 | # Note: the specfile inserts the correct value during package build |
16 | PGVERSION=9.2.4 | 16 | PGVERSION=9.2.4 |
17 | # PGMAJORVERSION is major version, e.g., 8.4 (this should match PG_VERSION) | 17 | # PGMAJORVERSION is major version, e.g., 10 (this should match PG_VERSION) |
18 | PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\.[0-9]*\).*$/\1/'` | 18 | PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\).*$/\1/'` |
19 | 19 | ||
20 | # Source function library. | 20 | # Source function library. |
21 | . /etc/init.d/functions | 21 | . /etc/init.d/functions |