mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 09:39:49 +00:00
parent
924beadf49
commit
978e0def95
@ -4,6 +4,7 @@
|
|||||||
# steamos-update --supports-duplicate-detection -- should do nothing
|
# steamos-update --supports-duplicate-detection -- should do nothing
|
||||||
# steamos-update --enable-duplicate-detection check -- should check for update
|
# steamos-update --enable-duplicate-detection check -- should check for update
|
||||||
# steamos-update 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
|
# steamos-update -- should perform an update
|
||||||
|
|
||||||
|
|
||||||
@ -13,8 +14,11 @@ while [[ $# -gt 0 ]]; do
|
|||||||
CHECK=1
|
CHECK=1
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
--supports-duplicate-detection)
|
||||||
|
EXIT=1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
SKIP=1
|
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -40,7 +44,7 @@ if command -v ublue-update > /dev/null; then
|
|||||||
exit 7 # Connectivity check failed
|
exit 7 # Connectivity check failed
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ -n "${SKIP}" ]; then
|
elif [ -n "${EXIT}" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# Fake upgrade progress bar
|
# Fake upgrade progress bar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user