mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-05-31 12:07:20 +02:00
deb-update.bash: add rpm-ostree upgrade --check regardless of the issues
This commit is contained in:
parent
1005790a58
commit
fc760ab4f3
@ -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
|
# potentially unsafe, see a few lines above and the apt-get section
|
||||||
dnf "$@" autoremove
|
dnf "$@" autoremove
|
||||||
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||||
|
rpm-ostree upgrade --check
|
||||||
|
sleep 5
|
||||||
rpm-ostree upgrade
|
rpm-ostree upgrade
|
||||||
# This may flash far too fast otherwise
|
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user