瀏覽代碼

Fix odbcinst usage. Submitted by: Bill Campbell <bill@celestial.com>

Ralf S. Engelschall 22 年之前
父節點
當前提交
d7a907d1c7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      postgresql/postgresql.spec

+ 2 - 2
postgresql/postgresql.spec

@@ -40,7 +40,7 @@ Distribution: OpenPKG [BASE]
 Group:        Database
 License:      GPL
 Version:      %{V_postgresql}
-Release:      20030607
+Release:      20030628
 
 #   package options
 %option       with_cxx      no
@@ -386,7 +386,7 @@ AutoReqProv:  no
           echo "Description     = PostgreSQL ODBC driver"
           echo "Driver          = $RPM_INSTALL_PREFIX/lib/psqlodbc.so"
           echo "Threading       = 2"
-        ) $RPM_INSTALL_PREFIX/bin/odbcinst -i -d -r
+        ) | $RPM_INSTALL_PREFIX/bin/odbcinst -i -d -r
 %endif
     elif [ $1 -gt 1 ]; then
         #   upgrading of installation