100 lines
2.2 KiB
HTML
100 lines
2.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Dpkg::Deps::OR</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Dpkg::Deps::OR</H1>
|
|
Section: libdpkg-perl (3perl)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Dpkg::Deps::OR - list of OR dependencies
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
This object represents a list of dependencies of which only one must be met
|
|
for the dependency to be true. It inherits from Dpkg::Deps::Multiple.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>METHODS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">$dep->output([$fh])<DD>
|
|
|
|
|
|
|
|
|
|
The output method uses `` | '' to join the list of sub-dependencies.
|
|
<DT id="2">$dep->implies($other_dep)<DD>
|
|
|
|
|
|
|
|
|
|
Returns 1 when <TT>$dep</TT> implies <TT>$other_dep</TT>. Returns 0 when <TT>$dep</TT> implies
|
|
<FONT SIZE="-1">NOT</FONT>($other_dep). Returns undef when there's no implication. <TT>$dep</TT> and
|
|
<TT>$other_dep</TT> do not need to be of the same type.
|
|
<DT id="3">$dep->get_evaluation($facts)<DD>
|
|
|
|
|
|
|
|
|
|
Evaluates the dependency given a list of installed packages and a list of
|
|
virtual packages provided. These lists are part of the Dpkg::Deps::KnownFacts
|
|
object given as parameters.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
Returns 1 when it's true, 0 when it's false, undef when some information
|
|
is lacking to conclude.
|
|
<DT id="4">$dep->simplify_deps($facts, @assumed_deps)<DD>
|
|
|
|
|
|
|
|
|
|
Simplifies the dependency as much as possible given the list of facts (see
|
|
object Dpkg::Deps::KnownFacts) and a list of other dependencies that are
|
|
known to be true.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CHANGES</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H3>Version 1.00 (dpkg 1.15.6)</H3>
|
|
|
|
|
|
|
|
Mark the module as public.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">METHODS</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">CHANGES</A><DD>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAF">Version 1.00 (dpkg 1.15.6)</A><DD>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:39 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|