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: Support Kali Linux
If Kali Linux is detected as distribution, use the Debian backend for package management. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
060ff5159b
commit
2f49bc18d4
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class Cmd(Base): # export
|
|||
class_name = self.__class__.__name__[3:] # Get rid of "Cmd"
|
||||
backend_id = self.parent.distro_id.lower().replace('-', '_')
|
||||
match backend_id:
|
||||
case 'ubuntu' | 'raspbian':
|
||||
case 'ubuntu' | 'raspbian' | 'kali':
|
||||
backend_id = 'debian'
|
||||
case 'centos':
|
||||
backend_id = 'redhat'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue