Packages: Used better method for checking packages in eopkg (#669)

This commit is contained in:
Muhammad Herdiansyah 2017-03-03 14:43:10 +07:00
parent e8bdd31b46
commit 0c03845100
1 changed files with 1 additions and 1 deletions

View File

@ -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)))"