Name

Pkg::PkgAvailable — Check if package is available

Synopsis

boolean PkgAvailable ( string package );
 

Parameters

string package

name of the package

Return

boolean

Description

returns 'true' if the package is available on any of the currently active installation sources. (i.e. it is installable)

Usage

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