Created
March 7, 2025 02:20
-
-
Save vasi/78e80721522a70b452495b72bc57fbb3 to your computer and use it in GitHub Desktop.
Check for staged update in Bluefin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z "$STAGE_CHECKED" ]; then | |
export STAGE_CHECKED=1 | |
if rpm-ostree status --json | jq -e '.deployments[].staged | select(.)' > /dev/null ; then | |
echo 'New upgrade staged! Reboot to install' | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment