فهرست منبع

pg_initdb no longer asks for the username but now twice for the password

Ralf S. Engelschall 21 سال پیش
والد
کامیت
99197444eb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      postgresql/postgresql.spec

+ 1 - 1
postgresql/postgresql.spec

@@ -543,7 +543,7 @@ AutoReqProv:  no
 %endif
         su - %{l_rusr} -c \
             "LC_CTYPE=C; export LC_CTYPE; umask 022; \
-            (echo $l_pguser; echo $l_pgpass) |\
+            (echo $l_pgpass; echo $l_pgpass) |\
             $RPM_INSTALL_PREFIX/bin/pg_initdb \
                 -U $l_pguser -W -D $RPM_INSTALL_PREFIX/var/postgresql/db" 2>&1 |\
         $RPM_INSTALL_PREFIX/lib/openpkg/shtool prop \