Packages: Used better method for checking packages in eopkg (#669)
This commit is contained in:
parent
e8bdd31b46
commit
0c03845100
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -468,7 +468,7 @@ get_packages() {
|
|||
packages="$((packages+=$(ls -d -1 /Programs/*/ | wc -l)))"
|
||||
|
||||
type -p eopkg >/dev/null && \
|
||||
packages="$((packages+=$(eopkg list-installed | wc -l)))"
|
||||
packages="$((packages+=$(ls -1 /var/lib/eopkg/package | wc -l)))"
|
||||
|
||||
type -p pkg_info >/dev/null && \
|
||||
packages="$((packages+=$(pkg_info | wc -l)))"
|
||||
|
|
Loading…
Reference in a new issue