소스 검색

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 \