Merge pull request #951 from DanySpin97/master
Fix packages count for exherbo
This commit is contained in:
commit
4528ecd47c
2
neofetch
2
neofetch
|
@ -564,7 +564,7 @@ get_packages() {
|
|||
packages="$((packages+=$(kpm --get-selections | grep -cv deinstall$)))"
|
||||
|
||||
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)))"
|
||||
fi
|
||||
|
||||
|
|
Reference in New Issue