Skip to content

Commit

Permalink
fix(steamos-update): fix updates not applying
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU authored Sep 2, 2023
1 parent 924bead commit 978e0de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions system_files/deck/shared/usr/bin/steamos-update
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# steamos-update --supports-duplicate-detection -- should do nothing
# steamos-update --enable-duplicate-detection check -- should check for update
# steamos-update check -- should check for update
# steamos-update --enable-duplicate-detection -- should perform an update
# steamos-update -- should perform an update


Expand All @@ -13,8 +14,11 @@ while [[ $# -gt 0 ]]; do
CHECK=1
shift
;;
--supports-duplicate-detection)
EXIT=1
shift
;;
*)
SKIP=1
shift
;;
esac
Expand All @@ -40,7 +44,7 @@ if command -v ublue-update > /dev/null; then
exit 7 # Connectivity check failed
fi
fi
elif [ -n "${SKIP}" ]; then
elif [ -n "${EXIT}" ]; then
exit 0
else
# Fake upgrade progress bar
Expand Down

0 comments on commit 978e0de

Please sign in to comment.