From 2097b0ebfdd07ae7a8295c26703d8d88ee7a5f8f Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Wed, 10 Jun 2026 00:48:19 -0500 Subject: Squashed commit of the following: made all scripts mostly posix moved from gajim to dino --- env/.local/bin/scripts/backup/backup-flash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'env/.local/bin/scripts/backup/backup-flash') diff --git a/env/.local/bin/scripts/backup/backup-flash b/env/.local/bin/scripts/backup/backup-flash index 051b6d6..2f078fa 100755 --- a/env/.local/bin/scripts/backup/backup-flash +++ b/env/.local/bin/scripts/backup/backup-flash @@ -1,10 +1,11 @@ #!/bin/sh -cd ~ +cd ~ || exit fsync () { rsync -RUuavn --delete-after $exclude $syncfile "$target" printf "===commit these changes?\n" - read -p "y/n: " uinput + printf "y/n: " + read -r uinput if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then printf "\n\n\n" rsync -RUuav --progress --delete-after $exclude $syncfile "$target" -- cgit v1.3