fix: update package manager name

This commit is contained in:
ngn 2024-08-16 06:51:24 +03:00
parent 6020c028fe
commit 1b5ef803da

View File

@ -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