[PR] dylanaraps/neofetch#2192 from Skythrew - Stock Linux distro support

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2192
Thanks to @Skythrew

Co-authored-by: Skythrew <76571984+Skythrew@users.noreply.github.com>
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-09-09 19:53:08 -04:00
commit 8a01ce491b
No known key found for this signature in database
GPG key ID: E289FAC0DA92DD2B

View file

@ -1807,6 +1807,7 @@ get_packages() {
has pacstall && tot pacstall -L
has bulge && tot bulge list
has pm && tot pm list packages
has squirrel && tot cat /var/squirrel/repos/local/INDEX
# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then