Unless you enable "with_odbc", the latest 2-STABLE sqlite package
creates bogus postinstall and preuninstall scriptlets:

$ openpkg rpm -qp --scripts sqlite-3.3.8-2.20061222.ix86-suse9-openpkg.rpm
postinstall scriptlet (using /bin/sh):
   if [ $1 -eq 1 ]; then
       #   optionally link into ODBC
   fi
preuninstall scriptlet (using /bin/sh):
   if [ $1 -eq 0 ]; then
       #   optionally unlink from ODBC
   fi

The empty conditionals are a syntax error.  Add a noop (:) to fix.

http://cvs.openpkg.org/rlog?f=openpkg-src/sqlite/sqlite.spec

It looks like these scripts were removed in version 2.20061018
(1.113.2.2) and added back again in 2.20061222 (1.113.2.3).

--
Caleb Epstein
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to