packages: use dpkg

This commit is contained in:
Dylan Araps 2021-06-11 07:48:16 +00:00
parent c55cfc0c06
commit 010e376058

View file

@ -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