From ffb868313578e078462c00f5124ea98a728ba84e Mon Sep 17 00:00:00 2001 From: Ashraf Fouda Date: Mon, 3 Mar 2025 15:32:49 +0200 Subject: [PATCH] update bootstrap to include v3light Signed-off-by: Ashraf Fouda --- bootstrap/bootstrap/src/bootstrap.rs | 2 +- bootstrap/bootstrap/src/config.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/bootstrap/src/bootstrap.rs b/bootstrap/bootstrap/src/bootstrap.rs index 76498c1d7..d3ed38ee5 100644 --- a/bootstrap/bootstrap/src/bootstrap.rs +++ b/bootstrap/bootstrap/src/bootstrap.rs @@ -73,7 +73,7 @@ pub fn install(cfg: &config::Config) -> Result<()> { let mut listname = runmode.clone(); match cfg.version { Version::V3 => {} - Version::V4 => listname = format!("{}-v4", runmode), + Version::V3Light => listname = format!("{}-v3light", runmode), } // we need to list all taglinks let mut tag = None; diff --git a/bootstrap/bootstrap/src/config.rs b/bootstrap/bootstrap/src/config.rs index f6a5da5eb..aed5f4d05 100644 --- a/bootstrap/bootstrap/src/config.rs +++ b/bootstrap/bootstrap/src/config.rs @@ -28,7 +28,7 @@ impl Display for RunMode { #[derive(Debug)] pub enum Version { V3, - V4, + V3Light, } fn runmode() -> Result { @@ -65,7 +65,7 @@ fn version() -> Result { Some(input) => match input { Some(input) => match input.as_ref() { "v3" => Version::V3, - "v4" => Version::V4, + "v3light" => Version::V3Light, m => { bail!("unknown version: {}", m); }