deb-update.bash: add rpm-ostree upgrade --check regardless of the issues

This commit is contained in:
Aminda Suomalainen 2025-05-16 12:00:16 +03:00
parent 1005790a58
commit fc760ab4f3
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -59,8 +59,9 @@ if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
# potentially unsafe, see a few lines above and the apt-get section
dnf "$@" autoremove
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
rpm-ostree upgrade --check
sleep 5
rpm-ostree upgrade
# This may flash far too fast otherwise
sleep 5
fi