f686994af6
* Such package names requires at least OpenBSD 6.0. * Rework get_package_state() to use 'pkg_info -Iq inst:' instead of 'pkg_info -e' because it understands the branch syntax. It also means we can get rid of some additional special handling. This was suggested by Marc Espie: http://marc.info/?l=openbsd-tech&m=146659756711614&w=2 * Drop get_current_name() because the use of 'pkg_info -Iq inst:' in get_package_state() means we already have that information available without needing to do custom parsing. This was also necessary because a name such as "postfix%stable" does not in itself contain the version information necessary for the custom parsing. pkg_info -Iq translates such a name to the actual package name seamlessly. * Add support for finding more than one package for the supplied package name which may happen if we only supply a stem. |
||
---|---|---|
.. | ||
ansible |