Replace fetchy.c

This commit is contained in:
Јован Ђокић-Шумарац 2021-05-03 18:53:00 +00:00
parent b13751429f
commit 445f34184b

View file

@ -142,7 +142,7 @@ void getPackages(int *pkgs, char sys){
packages = popen("pacman -Q | wc -l", "r");
break;
case 'u':
packages = popen("apt list -installed | wc -l", "r");;
packages = popen("dpkg-query -l | wc -l", "r");;
break;
default:
printf("\n\n\aUnable to find package list\n\n");