Logo Search packages:      
Sourcecode: qapt version File versions  Download package

bool QApt::Package::isSupported (  )  const

Checks whether or not the package is supported by Canonical

true if valid

false if not invalid

Definition at line 619 of file package.cpp.

References component(), isTrusted(), and origin().

    bool supported = (origin() == "Ubuntu" && (component() == "main" || component() == "restricted")
                      && isTrusted());

    return supported;

Generated by  Doxygen 1.6.0   Back to index