Explorar el Código

use rpmtool msg

Ralf S. Engelschall hace 24 años
padre
commit
29c04ffa69
Se han modificado 1 ficheros con 9 adiciones y 8 borrados
  1. 9 8
      postgresql/postgresql.spec

+ 9 - 8
postgresql/postgresql.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
 Group:        Database
 License:      GPL
 Version:      7.2.1
-Release:      20020326
+Release:      20020509
 
 #   list of sources
 Source0:      ftp://ftp.de.postgresql.org/mirror/postgresql/source/v7.2/postgresql-%{version}.tar.gz
@@ -153,12 +153,13 @@ 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 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:"
-        echo "\$ $RPM_INSTALL_PREFIX/bin/psql -U postgresql -d template1 \\"
-        echo "  -c \"ALTER USER postgresql WITH PASSWORD '<new-password>'\""
+        ( 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:"
+          echo "\$ $RPM_INSTALL_PREFIX/bin/psql -U postgresql -d template1 \\"
+          echo "  -c \"ALTER USER postgresql WITH PASSWORD '<new-password>'\""
+        ) | %{l_rpmtool} msg -b -t notice
     fi