From b5c8a8d5f787389c9b4d8f46d90408780791a0db Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 28 Oct 2022 12:06:57 -0700 Subject: [PATCH] Fix tell_source OK, that last commit was just, uh, wrong. Signed-off-by: Adam Williamson --- lib/utils.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 33b2863b..37a3e01e 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1231,7 +1231,10 @@ sub tell_source { # between various spins and isos. my $iso = get_var('SUBVARIANT'); $iso = lc($iso); - if ($iso eq 'atomichost') { + if ($iso eq 'workstation' or $iso eq 'server') { + # do nothing, but don't hit else + } + elsif ($iso eq 'atomichost') { $iso = 'atomic'; } elsif ($iso eq 'silverblue') {