Skip to content

Commit

Permalink
add support for caps
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Perkowski <[email protected]>
  • Loading branch information
nnyyxxxx and adamperkowski authored Sep 21, 2024
1 parent ff2d126 commit 34a597e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tabs/utils/timeshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ restore_snapshot() {
read -r SNAPSHOT
printf "%b" "${CYAN}Enter the target device (e.g., /dev/sda1): ${RC}"
read -r TARGET_DEVICE
printf "%b" "${CYAN}Do you want to skip GRUB reinstall? (Y/n): ${RC}"
printf "%b" "${CYAN}Do you want to skip GRUB reinstall? (y/N): ${RC}"
read -r SKIP_GRUB

if [ "$SKIP_GRUB" = "yes" ]; then
if [ "$SKIP_GRUB" = "y" ] || [ "$SKIP_GRUB" = "Y" ]; then
"$ESCALATION_TOOL" timeshift --restore --snapshot "$SNAPSHOT" --target-device "$TARGET_DEVICE" --skip-grub --yes
else
printf "%b\n" "${CYAN}Enter GRUB device (e.g., /dev/sda): ${RC}"
Expand Down

0 comments on commit 34a597e

Please sign in to comment.