mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Packages: Added package detection for Lunar Linux and TinyCore
This commit is contained in:
6
neofetch
6
neofetch
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user