Packages: Added package detection for Lunar Linux and TinyCore

This commit is contained in:
Muhammad Herdiansyah 2016-11-18 21:41:11 +07:00
parent 5d7e74e0b6
commit 87fb0fd5ea
1 changed files with 6 additions and 0 deletions

View File

@ -412,6 +412,12 @@ get_packages() {
packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"
(("$packages" == "0")) && packages="$((packages+=$(pkg list | wc -l)))"
fi
type -p lvu >/dev/null && \
packages="$((packages+=$(lvu installed | wc -l)))"
type -p tce-status >/dev/null && \
packages="$((packages+=$(tce-status -i | wc -l)))"
;;
"Mac OS X")