Skip to content

Commit

Permalink
fix(rpm-ostree): Update package list to use full path for local packa…
Browse files Browse the repository at this point in the history
…ges (#381)
  • Loading branch information
gmpinder authored Jan 5, 2025
1 parent 96b78eb commit 8ceb728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/rpm-ostree/rpm-ostree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 8ceb728

Please sign in to comment.