Added additional brew support for linux

Added additional brew support for linux as brew can be installed on linux as well
This commit is contained in:
hellisabove 2021-12-11 13:36:25 +02:00 committed by GitHub
parent 794ea4f735
commit fba59717a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,6 +327,7 @@ int pkgman(struct info* user_info)
{"pacman -Qq 2> /dev/null | wc -l", "(pacman)"}, {"pacman -Qq 2> /dev/null | wc -l", "(pacman)"},
{"pkg info 2>/dev/null | wc -l", "(pkg)"}, {"pkg info 2>/dev/null | wc -l", "(pkg)"},
{"port installed 2> /dev/null | tail -n +2 | wc -l", "(port)"}, {"port installed 2> /dev/null | tail -n +2 | wc -l", "(port)"},
{"brew list 2> /dev/null | wc -l", "(brew)"},
{"rpm -qa --last 2> /dev/null | wc -l", "(rpm)"}, {"rpm -qa --last 2> /dev/null | wc -l", "(rpm)"},
{"xbps-query -l 2> /dev/null | wc -l", "(xbps)"}, {"xbps-query -l 2> /dev/null | wc -l", "(xbps)"},
{"zypper -q se --installed-only 2> /dev/null | wc -l", "(zypper)"}}; {"zypper -q se --installed-only 2> /dev/null | wc -l", "(zypper)"}};