From 945967dde743bdebfdcc978e78642b4c67dd5da8 Mon Sep 17 00:00:00 2001 From: Mürsel Türk Date: Wed, 14 Sep 2022 18:34:31 +0200 Subject: Rename deb to dpkg --- inspect.py | 4 ++-- tools/inspect_apps.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inspect.py b/inspect.py index c73f87e..8b41fbf 100755 --- a/inspect.py +++ b/inspect.py @@ -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: -- cgit v1.2.3-55-g7522