From 8e139d4b6a793ddb42a1769357b1ea1d022b90ac Mon Sep 17 00:00:00 2001 From: greg-compass Date: Thu, 17 Nov 2022 09:58:50 -0600 Subject: [PATCH] rsync for darwin installs --- overlays/hms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/hms.sh b/overlays/hms.sh index 7769504..c04a1f0 100644 --- a/overlays/hms.sh +++ b/overlays/hms.sh @@ -32,7 +32,7 @@ if [ "$(uname -s)" == "Darwin" ]; then echo "Updating permissions on '${app}'" chmod -R u+w "${HOME}/Applications/${app}" || true echo "Copying new version to Applications" - cp -r "${app}" "${HOME}/Applications" 2>&1 > /dev/null || true + rsync -rptgoDv "${app}" "${HOME}/Applications" 2>&1 > /dev/null || true if [ "$?" != "0" ]; then echo "An error occurred, proceeding anyway" fi