Use dnf upgrade instead of update

This commit is contained in:
Mo 2023-10-13 15:33:24 +02:00
parent 32bb219467
commit 49499d099b

View file

@ -14,7 +14,7 @@ buildah from --pull --name builder registry.fedoraproject.org/fedora:latest; or
# Remove the flag that prevents installing docs # Remove the flag that prevents installing docs
buildah run builder -- sed -i /nodocs/d /etc/dnf/dnf.conf buildah run builder -- sed -i /nodocs/d /etc/dnf/dnf.conf
buildah run builder -- dnf update -y buildah run builder -- dnf upgrade -y
# Reinstall packages to install missing docs # Reinstall packages to install missing docs
set -l installed_packages (buildah run builder -- dnf list --installed | tail -n +2 | awk '{print $1}') set -l installed_packages (buildah run builder -- dnf list --installed | tail -n +2 | awk '{print $1}')