diff options
author | Mürsel Türk | 2022-09-14 18:34:31 +0200 |
---|---|---|
committer | Mürsel Türk | 2022-09-14 18:34:31 +0200 |
commit | 945967dde743bdebfdcc978e78642b4c67dd5da8 (patch) | |
tree | e1cac2f9b879c11f8db2691f93e149831bead96b | |
parent | Add support for arch-based distros (diff) | |
download | vm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.tar.gz vm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.tar.xz vm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.zip |
Rename deb to dpkg
-rwxr-xr-x | inspect.py | 4 | ||||
-rw-r--r-- | tools/inspect_apps.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -7,7 +7,7 @@ import sys from tools import libvslvm, lklfuse, nbdfuse, subfiles, unmount, rmdir from tools.inspect_apps import ( - list_applications_deb, + list_applications_dpkg, list_applications_pacman, list_applications_rpm, list_applications_windows @@ -67,7 +67,7 @@ def main(vmdk_path): os_name = os_info.get("name", "") for fspath, _ in fs_mps: if DEB.match(os_name): - apps = list_applications_deb(fspath) + apps = list_applications_dpkg(fspath) elif PACMAN.match(os_name): apps = list_applications_pacman(fspath) elif RPM.match(os_name): diff --git a/tools/inspect_apps.py b/tools/inspect_apps.py index 6c814d2..7031a0a 100644 --- a/tools/inspect_apps.py +++ b/tools/inspect_apps.py @@ -6,7 +6,7 @@ import tempfile from . import log, subdirs __all__ = [ - "list_applications_deb", + "list_applications_dpkg", "list_applications_pacman", "list_applications_rpm", "list_applications_windows" @@ -34,7 +34,7 @@ except ModuleNotFoundError: @log -def list_applications_deb(path): +def list_applications_dpkg(path): """Find all packages installed on a debian-based linux distribution. See also: |