jw.pkg.App.distro_id: Don't return opensuse

get-os.sh returned "suse" for SuSE-like distros, and that seems more
appropriate since SLES is not OpenSUSE but should share and ID with
other SuSE variants.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-03 05:02:44 +01:00
commit 03fca61248
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ class Cmd(Base): # export
backend_id = 'debian'
case 'centos':
backend_id = 'redhat'
case 'opensuse':
case 'opensuse' | 'suse':
backend_id = 'suse'
self.__backend_path = (
os.path.splitext(__name__)[0]