Commit 47d32e2b authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Use -r (update) option to image_import, so that we get image versioning

on sites that have that enabled.
parent 47722ff7
......@@ -210,7 +210,7 @@ foreach my $url (@urllist) {
my $opts = "";
$opts .= " -d"
if ($debug);
system("$IMPORTER $opts -g -p $pid $safe_url");
system("$IMPORTER $opts -g -p $pid -r " . $image->imageid());
exit(-1)
if ($?);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment