From 9ed33d7ef0dfd5e3f6e15d57e6c88e1316efd725 Mon Sep 17 00:00:00 2001 From: Madeleine <32415621+SpyHoodle@users.noreply.github.com> Date: Wed, 13 Jul 2022 09:26:20 +0100 Subject: [PATCH] remove apt in favour of neofetch's dpkg command (#20) --- src/modules/packages.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/packages.py b/src/modules/packages.py index 5f1fd96..0fd6754 100644 --- a/src/modules/packages.py +++ b/src/modules/packages.py @@ -4,8 +4,7 @@ "pacman -Qq --color never", # Arch Linux "xbps-query -l", # Void Linux "kiss l", # KISS Linux - "apt list --installed", # Debian, Ubuntu, Mint - "dpkg -l", # Debian, Ubuntu, Mint + "dpkg-query -f '.\n' -W", # Debian, Ubuntu, Mint "dnf list installed", # Fedora "zypper search -i", # openSUSE "rpm -qa", # RHEL, Fedora Core, CentOS