From 557c2cd781fa4e8c6906cf30889b9bcb32ffee83 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 5 Sep 2025 14:49:34 -0700 Subject: [PATCH] Run unwanted_packages on KDE, they don't want gtk2 (#425) This enables the unwanted_packages test we set up for Workstation a while ago on KDE as well. They want to ensure gtk2 isn't on KDE installs. Signed-off-by: Adam Williamson --- templates.fif.json | 1 + tests/unwanted_packages.pm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/templates.fif.json b/templates.fif.json index 3c670659..a43bc8fe 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -2551,6 +2551,7 @@ }, "unwanted_packages": { "profile_groups": { + "kde-all": 40, "workstation-all": 40 }, "settings": { diff --git a/tests/unwanted_packages.pm b/tests/unwanted_packages.pm index c9a07122..bc1daa8e 100644 --- a/tests/unwanted_packages.pm +++ b/tests/unwanted_packages.pm @@ -12,6 +12,9 @@ sub run { if ($subv eq "Workstation") { @unwanteds = ("gtk2", "qt"); } + elsif ($subv eq "KDE") { + @unwanteds = ("gtk2"); + } for my $unwanted (@unwanteds) { assert_script_run "! rpm -q $unwanted"; }