summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMürsel Türk2022-09-14 18:34:31 +0200
committerMürsel Türk2022-09-14 18:34:31 +0200
commit945967dde743bdebfdcc978e78642b4c67dd5da8 (patch)
treee1cac2f9b879c11f8db2691f93e149831bead96b
parentAdd support for arch-based distros (diff)
downloadvm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.tar.gz
vm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.tar.xz
vm-inspector-945967dde743bdebfdcc978e78642b4c67dd5da8.zip
Rename deb to dpkg
-rwxr-xr-xinspect.py4
-rw-r--r--tools/inspect_apps.py4
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: