deb-update.bash: move rpm-ostree to the end

This commit is contained in:
Aminda Suomalainen 2025-06-06 14:02:04 +03:00
parent 17a22d08b1
commit 1f00d17de7
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -58,13 +58,6 @@ 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
rpm-ostree upgrade --check
sleep 5
rpm-ostree upgrade
sleep 5
rpm-ostree status -v
sleep 5
fi fi
# Arch Linux package management # Arch Linux package management
@ -163,5 +156,14 @@ if [ -f /root/fixgrub.bash ]; then
. /root/fixgrub.bash . /root/fixgrub.bash
fi fi
if [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
rpm-ostree upgrade --check
sleep 5
rpm-ostree upgrade
sleep 5
rpm-ostree status -v
sleep 5
fi
# Hide commands being executed again # Hide commands being executed again
set +x set +x