mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2026-01-22 19:07:54 +01:00
deb-update.bash: rpm-ostree update instead of upgrade for Discover compatibility
This commit is contained in:
parent
4b0c4c8052
commit
86d1584da4
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user