Fixed #177
This commit is contained in:
parent
d94c325e7f
commit
a03fdc506a
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ int pkgman(struct info* user_info)
|
||||||
struct package_manager pkgmans[] =
|
struct package_manager pkgmans[] =
|
||||||
{{"apt list --installed 2> /dev/null | wc -l", "(apt)"},
|
{{"apt list --installed 2> /dev/null | wc -l", "(apt)"},
|
||||||
{"apk info 2> /dev/null | wc -l", "(apk)"},
|
{"apk info 2> /dev/null | wc -l", "(apk)"},
|
||||||
{"dnf list installed 2> /dev/null | wc -l", "(dnf)"},
|
// {"dnf list installed 2> /dev/null | wc -l", "(dnf)"}, // according to https://stackoverflow.com/questions/48570019/advantages-of-dnf-vs-rpm-on-fedora, dnf and rpm return the same number of packages
|
||||||
{"qlist -I 2> /dev/null | wc -l", "(emerge)"},
|
{"qlist -I 2> /dev/null | wc -l", "(emerge)"},
|
||||||
{"flatpak list 2> /dev/null | wc -l", "(flatpak)"},
|
{"flatpak list 2> /dev/null | wc -l", "(flatpak)"},
|
||||||
{"snap list 2> /dev/null | wc -l", "(snap)"},
|
{"snap list 2> /dev/null | wc -l", "(snap)"},
|
||||||
|
|
Loading…
Reference in a new issue