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