mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-13 22:23:45 +00:00
sculpt: avoid superfluous <installation> entries
The missing else statements resulted in the addition of a superfluous <archive> node when installing an <index>, causing warning messages by the depot-download subsytem.
This commit is contained in:
parent
fb1865eb91
commit
9be7ce54c2
@ -42,9 +42,9 @@ struct Sculpt::Download_queue : Noncopyable
|
||||
|
||||
if (Depot::Archive::index(path))
|
||||
gen_install_node("index", path);
|
||||
if (Depot::Archive::image_index(path))
|
||||
else if (Depot::Archive::image_index(path))
|
||||
gen_install_node("image_index", path);
|
||||
if (Depot::Archive::image(path))
|
||||
else if (Depot::Archive::image(path))
|
||||
gen_install_node("image", path);
|
||||
else
|
||||
xml.node("archive", [&] () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user