mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 09:35:54 +02:00
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 <jan@janware.com>
This commit is contained in:
parent
f55bdd2e16
commit
d22074abf9
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue