From 1b5ef803da189104fd1cbf9262493963f0d2de14 Mon Sep 17 00:00:00 2001 From: ngn Date: Fri, 16 Aug 2024 06:51:24 +0300 Subject: [PATCH] fix: update package manager name --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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