From 010e3760581ea594a6871579f202c2bbb94f7ae5 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 11 Jun 2021 07:48:16 +0000 Subject: [PATCH] packages: use dpkg --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 6cc30621..3c0a272c 100755 --- a/neofetch +++ b/neofetch @@ -1540,7 +1540,7 @@ get_packages() { has kiss && tot kiss l has cpt-list && tot cpt-list has pacman-key && tot pacman -Qq --color never - has apt && pkgs_h=1 tot apt list --installed && ((packages-=1)) + has dpkg && pac "$(dpkg --list | grep -c ^ii)" has xbps-query && tot xbps-query -l has apk && tot apk info has opkg && tot opkg list-installed