Pkg::SourceCreate Source_SourceScan.htmlPrev  Access to Installation Sources  Source_SourceSetEnabled.htmlNext Name
Pkg::SourceCreate — Create a Source
Synopsis
            integer
            
SourceCreate          (
            string
             
url          , 
             string
             
product_dir          
); Parameters
            
string            
url          
The media to scan.
Optional Arguments
            
string            
product_dir          
Restrict scan to a certain InstSrc located in media_url/product_dir.
Return
            
integer          
The source_id of the first InstSrc found on the media. 
Description
        
 Load and enable all InstSrces found at media_url, i.e. all sources mentioned in /media.1/products. If no /media.1/products is available, InstSrc is expected to be located directly below media_url (product_dir: /).
      
        
 If a product_dir is provided, only the InstSrc located at media_url/product_dir is loaded and enabled.
      
Source_SourceScan.htmlPrev  Source.htmlUp  Source_SourceSetEnabled.htmlNext Pkg::SourceScan index.htmlHome  Pkg::SourceSetEnabled 