mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-06-07 23:57:21 +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
|
||||
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
|
||||
|
||||
# Arch Linux package management
|
||||
@ -163,5 +156,14 @@ if [ -f /root/fixgrub.bash ]; then
|
||||
. /root/fixgrub.bash
|
||||
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
|
||||
set +x
|
||||
|
Loading…
x
Reference in New Issue
Block a user