Name

Pkg::IsSelected — returns a 'true' if the tag is selected for installation

Synopsis

boolean IsSelected ( string tag );
 

Parameters

string tag

Return

boolean

Description

tag can be a package name, a string from requires/provides or a file name (since a package implictly provides all its files)

Usage

   Pkg::IsSelected ("yast2") -> true