Skip to content

Commit

Permalink
fix: Forgot to replace rpm-ostree to dnf when checking for local …
Browse files Browse the repository at this point in the history
…packages
  • Loading branch information
fiftydinar authored Dec 23, 2024
1 parent a53dd5b commit 1a81609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ if [[ ${#INSTALL_PKGS[@]} -gt 0 ]]; then
INSTALL_PKGS[$i]="${PKG//%OS_VERSION%/${OS_VERSION}}"
HTTPS_INSTALL=true
HTTPS_PKGS+=("${INSTALL_PKGS[$i]}")
elif [[ ! "${PKG}" =~ ^https?:\/\/.* ]] && [[ -f "${CONFIG_DIRECTORY}/rpm-ostree/${PKG}" ]]; then
elif [[ ! "${PKG}" =~ ^https?:\/\/.* ]] && [[ -f "${CONFIG_DIRECTORY}/dnf/${PKG}" ]]; then
LOCAL_INSTALL=true
LOCAL_PKGS+=("${CONFIG_DIRECTORY}/rpm-ostree/${PKG}")
LOCAL_PKGS+=("${CONFIG_DIRECTORY}/dnf/${PKG}")
else
CLASSIC_INSTALL=true
CLASSIC_PKGS+=("${PKG}")
Expand Down

0 comments on commit 1a81609

Please sign in to comment.