浏览代码

[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>
Azalea (on HyDEV-Daisy) 2 年之前
父节点
当前提交
8a01ce491b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      neofetch

+ 1 - 0
neofetch

@@ -1807,6 +1807,7 @@ get_packages() {
             has pacstall   && tot pacstall -L
             has pacstall   && tot pacstall -L
             has bulge      && tot bulge list
             has bulge      && tot bulge list
             has pm         && tot pm list packages
             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.
             # 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
             if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then