mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-06-08 08:07:20 +02:00
deb-update.bash: move rpm-ostree to the end
This commit is contained in:
parent
17a22d08b1
commit
1f00d17de7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user