packages: refactor
This commit is contained in:
parent
dc9b5519fd
commit
c03c9e1248
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1343,7 +1343,7 @@ get_packages() {
|
||||||
elif [[ "$package_manager" == "on" ]]; then
|
elif [[ "$package_manager" == "on" ]]; then
|
||||||
managers="${managers/pacman-key/pacman}"
|
managers="${managers/pacman-key/pacman}"
|
||||||
managers="${managers/kpt-pkg/kpt}"
|
managers="${managers/kpt-pkg/kpt}"
|
||||||
packages+=" (${managers::-2})"
|
packages+=" (${managers%,*})"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue