Skip to content

Commit

Permalink
initial support for alias
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 17, 2013
1 parent 967e654 commit a19a20b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/add-on_auto.ycp
Expand Up @@ -178,7 +178,10 @@ else if (func == "Write") {
integer srcid = -1;

do {
srcid = Pkg::SourceCreate (media, pth);
string url=media;
if( search( url, "?alias" )==nil && !isempty(prod["name"]:""))
url = url + "?alias="+prod["name"]:"";
srcid = Pkg::SourceCreate (url, pth);

if ((srcid == -1 || srcid == nil) && !prod["ask_on_error"]:false) {
// error report
Expand Down

0 comments on commit a19a20b

Please sign in to comment.