rsync for darwin installs
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user