Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ afetch is written in C99, meaning that it should be able to be compiled with alm
* Deepin
* Elementary OS
* EndeavourOS
* Fedora (slow due to package manager)
* Fedora
* FreeBSD
* Gentoo
* MacOS (homebrew)
Expand Down
6 changes: 1 addition & 5 deletions src/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,7 @@ void *os()
info.col7 =
BBLUE "\\ \\" BWHITE "__/ | " BBLUE;
info.col8 = BBLUE " \\" BWHITE "(_____/" BBLUE;
info.getPkgCount =
"[[ $(which sqlite3 2>/dev/null) && $? -ne "
"1 ]] && (sqlite3 "
"/var/lib/rpm/rpmdb.sqlite \"select * from "
"Name\"|wc -l) || rpm -qa | wc -l";
info.getPkgCount = "rpm -qa --nodigest --nosignature | wc -l";
} else if (strncmp(osname, "Gentoo", 6) == 0) {
info.col1 = BMAGENTA " _-----_ \n";
info.col2 = BMAGENTA " ( \\ ";
Expand Down