Procházet zdrojové kódy

fix socket adjustments and polish message

Ralf S. Engelschall před 24 roky
rodič
revize
145fc4f1c0
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      postgresql/postgresql.spec

+ 4 - 4
postgresql/postgresql.spec

@@ -56,8 +56,8 @@ AutoReqProv:  no
 %prep
     %setup -q 
     %{l_shtool} subst \
-        -e 's;\(#define.*DEFAULT_PGSOCKET_DIR.*"\)/tmp\("\);\1%{l_prefix}/var/postgresql/run\2;'
-        include/pg_config.h.in
+        -e 's;\(#define.*DEFAULT_PGSOCKET_DIR[^"]*"\)/tmp\("\);\1%{l_prefix}/var/postgresql/run\2;' \
+        src/include/pg_config.h.in
 
 %build
     #    configure package
@@ -153,8 +153,8 @@ AutoReqProv:  no
         rm -f $RPM_INSTALL_PREFIX/var/postgresql/db/pg_hba.conf.old
         
         #   display information about next steps
-        echo "An initial PostgreSQL DB was created with the two default"
-        echo "database clusters template0 and template1. The owner of both"
+        echo "An initial PostgreSQL DB was created with the two standard"
+        echo "databases 'template0' and 'template1'. The owner of both"
         echo "is the DB user 'postgresql'. Its initial password is 'postgresql'."
         echo "After starting PostgreSQL you should change this as quick as"
         echo "possible with the following command:"