packages: refactor

This commit is contained in:
Dylan Araps 2018-06-02 15:02:34 +10:00
parent dc9b5519fd
commit c03c9e1248
1 changed files with 1 additions and 1 deletions

View File

@ -1343,7 +1343,7 @@ get_packages() {
elif [[ "$package_manager" == "on" ]]; then
managers="${managers/pacman-key/pacman}"
managers="${managers/kpt-pkg/kpt}"
packages+=" (${managers::-2})"
packages+=" (${managers%,*})"
fi
}