From 30262a54d1e20ccd00bb43193ca393318fa78333 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Mon, 26 Jan 2026 05:33:42 -0500 Subject: Added check for rsync to copy.sh On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: copy.sh --- copy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/copy.sh b/copy.sh index 90dc1b83..8b5bb189 100755 --- a/copy.sh +++ b/copy.sh @@ -229,6 +229,11 @@ if [[ $EUID -eq 0 ]]; then printf "\n%.0s" {1..2} exit 1 fi +# Ensure rsync is available before proceeding +if ! command -v rsync >/dev/null 2>&1; then + echo "${ERROR} Required dependency 'rsync' is not installed. Please install rsync and rerun this script." + exit 1 +fi # Function to print colorful text print_color() { -- cgit v1.2.3