Skip to content

Commit 5e5c3ad

Browse files
lj3954flexiondotorg
authored andcommitted
fix: Correct for breaking change in new distro additions
1 parent 3ba6b85 commit 5e5c3ad

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/bsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl Distro for GhostBSD {
198198
Config {
199199
guest_os: GuestOS::GhostBSD,
200200
iso: Some(vec![Source::Web(WebSource::new(url, checksum, None, None))]),
201-
release: Some(release),
201+
release,
202202
edition: Some(edition),
203203
..Default::default()
204204
}

src/linux/arch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ impl Distro for Garuda {
375375
};
376376

377377
Some(Config {
378-
release: Some("latest".to_string()),
378+
release: "latest".to_string(),
379379
edition: Some(edition),
380380
iso: Some(vec![Source::Web(WebSource::new(url, checksum, None, None))]),
381381
..Default::default()

src/linux/independent.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ impl Distro for Gentoo {
288288
});
289289

290290
Config {
291-
release: Some("latest".to_string()),
291+
release: "latest".to_string(),
292292
edition: Some(edition.to_string()),
293293
iso: Some(vec![Source::Web(WebSource::new(url, checksum, None, None))]),
294294
arch,
@@ -336,7 +336,7 @@ impl Distro for GnomeOS {
336336
let iso = &iso_regex.captures(&page)?[1];
337337
let url = format!("{mirror}{iso}");
338338
Some(Config {
339-
release: Some(release),
339+
release,
340340
iso: Some(vec![Source::Web(WebSource::url_only(url))]),
341341
..Default::default()
342342
})
@@ -350,7 +350,7 @@ impl Distro for GnomeOS {
350350
.collect::<Vec<Config>>();
351351

352352
configs.push(Config {
353-
release: Some("nightly".to_string()),
353+
release: "nightly".to_string(),
354354
iso: Some(vec![Source::Web(WebSource::url_only(
355355
"https://os.gnome.org/download/latest/gnome_os_installer.iso",
356356
))]),

0 commit comments

Comments
 (0)