deb-update.bash: rpm-ostree update instead of upgrade for Discover compatibility

This commit is contained in:
Aminda Suomalainen 2026-01-12 12:21:33 +02:00
parent 4b0c4c8052
commit 86d1584da4
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -180,13 +180,13 @@ if hash checkservices 2> /dev/null; then
fi fi
if [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then if [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
rpm-ostree upgrade --check # The verb update is used instead of documented upgrade for KDE Plasma
# Discover compatibility and avoiding redundancy.
#rpm-ostree upgrade --check
rpm-ostree update --check
rpm-ostree status -v rpm-ostree status -v
sleep 5 sleep 5
rpm-ostree upgrade #rpm-ostree upgrade
# Reduntant, but KDE Discover uses this undocumented (in man page?)
# alias(?) for updating and thus it's required for attaching to existing
# process?
rpm-ostree update rpm-ostree update
sleep 5 sleep 5
rpm-ostree status -v rpm-ostree status -v