aboutsummaryrefslogtreecommitdiff
path: root/scripts/fedora-live-iso-label-generator
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fedora-live-iso-label-generator')
-rwxr-xr-xscripts/fedora-live-iso-label-generator12
1 files changed, 2 insertions, 10 deletions
diff --git a/scripts/fedora-live-iso-label-generator b/scripts/fedora-live-iso-label-generator
index fc5cef6..6aaa799 100755
--- a/scripts/fedora-live-iso-label-generator
+++ b/scripts/fedora-live-iso-label-generator
@@ -32,9 +32,6 @@ volume_id_substitutions = {
"Cinnamon": "Cinn",
"Cloud": "C",
"Comp_Neuro": "CNr",
- "COSMIC": "CSMC",
- "COSMIC-Atomic": "CSMCA",
- "COSMIC_Atomic": "CSMCA",
"Design_suite": "Dsgn",
"Electronic_Lab": "Elec",
"Everything": "E",
@@ -49,11 +46,11 @@ volume_id_substitutions = {
# Note https://pagure.io/pungi-fedora/issue/533
"Python-Classroom": "Clss",
"Python_Classroom": "Clss",
+ "Robotics": "Robo",
"Scientific_KDE": "SciK",
"Security": "Sec",
"Sericea": "Src",
"Server": "S",
- "Workstation": "WS",
"-Workstation-": "-WS-",
}
@@ -92,13 +89,8 @@ image_profile_variant_appid_prefix = image_profile_baseprefix
if image_profile_baseprefix in profile_to_application_id.keys():
image_profile_variant_appid_prefix = profile_to_application_id[image_profile_baseprefix]
-else:
- image_profile_variant_appid_prefix = image_profile_baseprefix
-if image_profile_variant_appid_prefix in volume_id_substitutions.keys():
- image_profile_variant_volid_prefix = volume_id_substitutions[image_profile_variant_appid_prefix]
-else:
- image_profile_variant_volid_prefix = image_profile_variant_appid_prefix
+image_profile_variant_volid_prefix = volume_id_substitutions[image_profile_variant_appid_prefix]
image_appid = f"{image_basename}-{image_profile_variant_appid_prefix}-Live-{image_version}"
image_volid = f"{image_basename}-{image_profile_variant_volid_prefix}-Live-{image_volid_version}"