mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Merge branch 'master' of github.com:dylanaraps/neofetch
This commit is contained in:
2
neofetch
2
neofetch
@@ -564,7 +564,7 @@ get_packages() {
|
|||||||
packages="$((packages+=$(kpm --get-selections | grep -cv deinstall$)))"
|
packages="$((packages+=$(kpm --get-selections | grep -cv deinstall$)))"
|
||||||
|
|
||||||
if type -p cave >/dev/null; then
|
if type -p cave >/dev/null; then
|
||||||
package_dir=(/var/db/paludis/repositories/{cross-installed,installed}/*/data/*)
|
package_dir=(/var/db/paludis/repositories/{cross-installed/*,installed}/data/*)
|
||||||
packages="$((packages+=$(ls -d -1 "${package_dir[@]}" | wc -l)))"
|
packages="$((packages+=$(ls -d -1 "${package_dir[@]}" | wc -l)))"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user