Commit 0c038451 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

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

parent e8bdd31b
......@@ -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)))"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment