mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01: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:
committed by
Christian Helmuth
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", [&] () {
|
||||
|
||||
Reference in New Issue
Block a user