pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/postgresql16-server/files



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Dec 14 11:46:43 UTC 2023

Modified Files:
        pkgsrc/databases/postgresql16-server/files: pgsql.sh

Log Message:
postgresql16-server: fix files/pgsql.sh - rc.subr is not available on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql16-server/files/pgsql.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql16-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql16-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql16-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql16-server/files/pgsql.sh:1.2     Thu Oct  5 21:11:36 2023
+++ pkgsrc/databases/postgresql16-server/files/pgsql.sh Thu Dec 14 11:46:43 2023
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: pgsql.sh,v 1.2 2023/10/05 21:11:36 triaxx Exp $
+# $NetBSD: pgsql.sh,v 1.3 2023/12/14 11:46:43 adam Exp $
 #
 # PostgreSQL database rc.d control script
 #
@@ -18,7 +18,9 @@
 #      pgsql_home="/path/to/home"      # path to pgsql database directory
 # See postmaster(1) for possible options.
 
-$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
+if [ -f @SYSCONFBASE@/rc.subr ]; then
+  . @SYSCONFBASE@/rc.subr
+fi
 
 name="pgsql"
 rcvar=${name}



Home | Main Index | Thread Index | Old Index