From 8ceb728bcd2337c08bc87fc67c5efd5d2f6e08b1 Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Sun, 5 Jan 2025 07:24:24 -0500 Subject: [PATCH] fix(rpm-ostree): Update package list to use full path for local packages (#381) --- modules/rpm-ostree/rpm-ostree.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/rpm-ostree/rpm-ostree.sh b/modules/rpm-ostree/rpm-ostree.sh index 42e94cf..f5f1564 100644 --- a/modules/rpm-ostree/rpm-ostree.sh +++ b/modules/rpm-ostree/rpm-ostree.sh @@ -89,8 +89,9 @@ if [[ ${#INSTALL_PKGS[@]} -gt 0 ]]; then HTTPS_INSTALL=true HTTPS_PKGS+=("${INSTALL_PKGS[$i]}") elif [[ ! "${PKG}" =~ ^https?:\/\/.* ]] && [[ -f "${CONFIG_DIRECTORY}/rpm-ostree/${PKG}" ]]; then + INSTALL_PKGS[$i]="${CONFIG_DIRECTORY}/rpm-ostree/${PKG}" LOCAL_INSTALL=true - LOCAL_PKGS+=("${CONFIG_DIRECTORY}/rpm-ostree/${PKG}") + LOCAL_PKGS+=("${INSTALL_PKGS[$i]}") else CLASSIC_INSTALL=true CLASSIC_PKGS+=("${PKG}")