diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | postgresql.init.in | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index e40a0cc..a967c38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,7 @@ libexec_SCRIPTS = postgresql$(DISTSUFF)-ctl \ userunitsdir = /etc/systemd/system +# TODO: Ideally, 'make distcheck' should check every file we generate. if WANT_SYSVINIT initscriptsdir = $(sysconfdir)/rc.d/init.d initscripts_DATA = postgresql$(DISTSUFF) diff --git a/postgresql.init.in b/postgresql.init.in index b183486..f75f4e5 100644 --- a/postgresql.init.in +++ b/postgresql.init.in @@ -31,7 +31,9 @@ PREVMAJORVERSION=@PREVMAJORVERSION@ PREVPGENGINE=@PREVPGENGINE@ # PGDOCDIR is the directory containing the package's documentation # Note: the specfile inserts the correct value during package build -PGDOCDIR=@PGDOCDIR@ + +# Distribution README file +README_DIST=@README_DIST@ # Source function library. . /etc/rc.d/init.d/functions @@ -93,13 +95,13 @@ start(){ echo echo $"An old version of the database format was found." echo $"Use \"service postgresql upgrade\" to upgrade to version $PGMAJORVERSION." - echo $"See $PGDOCDIR/README.rpm-dist for more information." + echo $"See $README_DIST for more information." exit 1 else echo echo $"An old version of the database format was found." echo $"You need to dump and reload before using PostgreSQL $PGMAJORVERSION." - echo $"See $PGDOCDIR/README.rpm-dist for more information." + echo $"See $README_DIST for more information." exit 1 fi else |