Merge pull request #445 from konimex/master
Packages: Added package detection for Lunar Linux and TinyCore
This commit is contained in:
commit
4ac8bba29a
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -412,6 +412,12 @@ get_packages() {
|
||||||
packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"
|
packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"
|
||||||
(("$packages" == "0")) && packages="$((packages+=$(pkg list | wc -l)))"
|
(("$packages" == "0")) && packages="$((packages+=$(pkg list | wc -l)))"
|
||||||
fi
|
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")
|
"Mac OS X")
|
||||||
|
|
Loading…
Reference in a new issue