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-tol2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'env/.local/bin/scripts/backup/backup-tol2') diff --git a/env/.local/bin/scripts/backup/backup-tol2 b/env/.local/bin/scripts/backup/backup-tol2 index 839f0af..3cf2adf 100755 --- a/env/.local/bin/scripts/backup/backup-tol2 +++ b/env/.local/bin/scripts/backup/backup-tol2 @@ -1,5 +1,5 @@ #!/bin/sh -cd ~/ +cd ~/ || exit fsynca () { # t? @@ -8,7 +8,8 @@ fsynca () { fsyncb () { printf "===confirm 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