Name

Pkg::SourceProvideSignedFile — Make a signed file available at the local filesystem

Synopsis

string SourceProvideSignedFile ( integer id ,
  integer mid ,
  string f ,
  boolean optional );
 

Parameters

integer id

Source ID

integer mid

Number of the media the file is located on ('1' for the 1st media).

string f

Filename relative to the media root.

boolean optional

true if the file can be missing on the medium, if an optional file doesn't exist do not ask user for another medium and return nil.

Return

string

local path as string

Description

Make a signed Let an InstSrc provide some file (make it available at the local filesystem). The signature is read from <filename>.asc file, the GPG key is read from <filename>.key file. Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!