[csw-maintainers] Packages that require either package A or package B

Mike Watters mwatters at opencsw.org
Thu May 21 02:46:30 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There are some packages that require either pkgA or pkgB to be functional.

mediawiki for example.  it requires Either MySQL OR Postgres.

How can we handle this in a package that allows a seamless install.

I figure a checkinstall script to determine if one or the other exists and bail
gracefully "like a normal requirement not met" if missing both.

thoughts?

- --
Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkoUpGUACgkQLrhmsXMSLxcJ2QCfWF6OZg1/p10c5tuir8oNwaFY
P+cAn3Okd64mgz+H/7RKaiaFbNnwyvkk
=pJXK
-----END PGP SIGNATURE-----



More information about the maintainers mailing list