mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-05-30 03:17:46 +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
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user