rsync for darwin installs

This commit is contained in:
greg-compass
2022-11-17 09:58:50 -06:00
parent 89550764c1
commit 8e139d4b6a
+1 -1
View File
@@ -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