Skip to content

Commit

Permalink
chore: minor updates to help text for bazzite-rollback-helper (#1540)
Browse files Browse the repository at this point in the history
Co-authored-by: Aarron Lee <[email protected]>
  • Loading branch information
aarron-lee and aarron-lee authored Aug 26, 2024
1 parent c498043 commit 8137631
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions system_files/desktop/shared/usr/bin/bazzite-rollback-helper
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ Examples:
bazzite-rollback-helper list stable
bazzite-rollback-helper rollback
bazzite-rollback-helper current
bazzite-rollback-helper rebase bazzite-deck:39-20240315
bazzite-rollback-helper rebase 40-stable-20240722
bazzite-rollback-helper rebase bazzite-deck:40-stable-20240722
bazzite-rollback-helper rebase bazzite-deck:stable
bazzite-rollback-helper rebase stable
bazzite-rollback-helper rebase testing
For more help, visit https://discord.bazzite.gg.
Expand All @@ -47,6 +49,7 @@ if [[ "$1" == "list" ]]; then

elif [[ "$1" == "rollback" ]]; then
rpm-ostree rollback
echo "Reboot for changes to take effect"

elif [[ "$1" == "current" ]]; then
# current image
Expand Down Expand Up @@ -76,7 +79,7 @@ EOF
)
read -p "$question" yn
case $yn in
[Yy]) echo "rebasing to $rebase_target" && rpm-ostree rebase $full_image_path;;
[Yy]) echo "rebasing to $rebase_target" && rpm-ostree rebase $full_image_path && echo "Reboot for changes to take effect";;
*) echo "Unknown option, exiting.";;
esac

Expand Down

0 comments on commit 8137631

Please sign in to comment.