We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db468f1 commit 9541950Copy full SHA for 9541950
src/fetch.c
@@ -289,11 +289,7 @@ void *os()
289
info.col7 =
290
BBLUE "\\ \\" BWHITE "__/ | " BBLUE;
291
info.col8 = BBLUE " \\" BWHITE "(_____/" BBLUE;
292
- info.getPkgCount =
293
- "[[ $(which sqlite3 2>/dev/null) && $? -ne "
294
- "1 ]] && (sqlite3 "
295
- "/var/lib/rpm/rpmdb.sqlite \"select * from "
296
- "Name\"|wc -l) || rpm -qa | wc -l";
+ info.getPkgCount = "rpm -qa --nodigest --nosignature | wc -l";
297
} else if (strncmp(osname, "Gentoo", 6) == 0) {
298
info.col1 = BMAGENTA " _-----_ \n";
299
info.col2 = BMAGENTA " ( \\ ";
0 commit comments