From d22074abf9ff7905d0f3722c225e03128103801e Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 3 Mar 2026 04:27:27 +0100 Subject: [PATCH] jw.pkg.cmds.distro.Cmd._backend_path: Fix suse mapping App.distro_id used to return "opensuse-tumbleweed", analogous to what's in ID@/etc/os-release, but now returns "opensuse", and the "tumbleweed" goes into "codename". That matches more what Debian-like distributions do, but it confuses _backend_path. Adapt it to map the new distro_id correctly. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/cmds/distro/Cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/cmds/distro/Cmd.py b/src/python/jw/pkg/cmds/distro/Cmd.py index 4a446b7a..e78dae7c 100644 --- a/src/python/jw/pkg/cmds/distro/Cmd.py +++ b/src/python/jw/pkg/cmds/distro/Cmd.py @@ -33,7 +33,7 @@ class Cmd(Base): # export backend_id = 'debian' case 'centos': backend_id = 'redhat' - case 'opensuse_tumbleweed': + case 'opensuse': backend_id = 'suse' self.__backend_path = ( os.path.splitext(__name__)[0]