Fix rpmbuild package issue on the debs

This commit is contained in:
2021-12-01 18:11:45 -05:00
parent 89dac984a4
commit 50740e9fd5

View File

@@ -392,7 +392,7 @@ installPackage() {
for _pkg in "$@"; do for _pkg in "$@"; do
# Check for alias # Check for alias
if [[ -v PKG_ALIASES["$_pkg"] ]]; then if [[ -v PKG_ALIASES["$_pkg"] ]]; then
_pkg=PKG_ALIASES["$_pkg"] _pkg=${PKG_ALIASES[$_pkg]}
fi fi
# Check if already installed # Check if already installed
if [[ -v _no_check ]] || ! pkg_query "$_pkg" > /dev/null 2>&1; then if [[ -v _no_check ]] || ! pkg_query "$_pkg" > /dev/null 2>&1; then