This commit is contained in:
2021-12-01 18:09:16 -05:00
parent 20f2cc30a1
commit 89dac984a4

View File

@@ -389,12 +389,9 @@ installPackage() {
exit 1 exit 1
fi fi
debug "${PKG_ALIASES[@]}"
for _pkg in "$@"; do for _pkg in "$@"; do
# Check for alias # Check for alias
if [[ -v PKG_ALIASES && -v PKG_ALIASES["$_pkg"] ]]; then if [[ -v PKG_ALIASES["$_pkg"] ]]; then
debug "Aliasing $_pkg to ${PKG_ALIASES[$_pkg]}"
_pkg=PKG_ALIASES["$_pkg"] _pkg=PKG_ALIASES["$_pkg"]
fi fi
# Check if already installed # Check if already installed