diff --git a/neofetch b/neofetch index 6a3a613..66fae4c 100755 --- a/neofetch +++ b/neofetch @@ -1566,11 +1566,11 @@ get_packages() { has pisi && tot pisi li has pacstall && tot pacstall -L - if has mp; then - mppkgs=$(matt list --grep | grep -v ">>>") + if has matt; then + matt_pkgs=$(matt list --grep | grep -v ">>>") while IFS= read -r line; do packages+=( $line ) - done <<< "$mppkgs" + done <<< "$matt_pkgs" pac $((${#packages[@]}-pkgs_h)) fi