fix(rpm-ostree): Support install + removal for URL & local packages only, without classic packages
This commit is contained in:
parent
0c6cb0479a
commit
27b16bc072
1 changed files with 9 additions and 0 deletions
|
|
@ -122,6 +122,15 @@ if [[ ${#INSTALL_PKGS[@]} -gt 0 && ${#REMOVE_PKGS[@]} -gt 0 ]]; then
|
|||
elif ${CLASSIC_INSTALL} && ${HTTPS_INSTALL} && ${LOCAL_INSTALL}; then
|
||||
rpm-ostree override remove "${REMOVE_PKGS[@]}" $(printf -- "--install=%s " "${CLASSIC_PKGS[@]}")
|
||||
rpm-ostree install "${HTTPS_PKGS[@]}" "${LOCAL_PKGS[@]}"
|
||||
elif ! ${CLASSIC_INSTALL} && ! ${HTTPS_INSTALL} && ${LOCAL_INSTALL}; then
|
||||
rpm-ostree override remove "${REMOVE_PKGS[@]}"
|
||||
rpm-ostree install "${LOCAL_PKGS[@]}"
|
||||
elif ! ${CLASSIC_INSTALL} && ${HTTPS_INSTALL} && ! ${LOCAL_INSTALL}; then
|
||||
rpm-ostree override remove "${REMOVE_PKGS[@]}"
|
||||
rpm-ostree install "${HTTPS_PKGS[@]}"
|
||||
elif ! ${CLASSIC_INSTALL} && ${HTTPS_INSTALL} && ${LOCAL_INSTALL}; then
|
||||
rpm-ostree override remove "${REMOVE_PKGS[@]}"
|
||||
rpm-ostree install "${HTTPS_PKGS[@]}" "${LOCAL_PKGS[@]}"
|
||||
fi
|
||||
elif [[ ${#INSTALL_PKGS[@]} -gt 0 ]]; then
|
||||
echo "Installing RPMs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue