From 2b312e90edc22a3e13be7d9160efabf18e88206b Mon Sep 17 00:00:00 2001 From: Perry Clarke Date: Sat, 24 Oct 2015 13:08:43 -0700 Subject: [PATCH] Fix "Remove Apple Remote Desktop Settings" Fix "Remove Apple Remote Desktop Settings" so it doesn't fight with the defaults system and make the commands independent of each other since some of the items being removed may not currently exist --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fbb2244..1d706b4 100644 --- a/README.md +++ b/README.md @@ -121,11 +121,11 @@ find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |\se #### Remove Apple Remote Desktop Settings ```bash -sudo rm -rf /var/db/RemoteManagement && \ -sudo rm /Library/Preferences/com.apple.RemoteDesktop.plist && \ -rm ~/Library/Preferences/com.apple.RemoteDesktop.plist && \ -sudo rm -r /Library/Application\ Support/Apple/Remote\ Desktop/ && \ -rm -r ~/Library/Application\ Support/Remote\ Desktop/ && \ +sudo rm -rf /var/db/RemoteManagement ; \ +sudo defaults delete /Library/Preferences/com.apple.RemoteDesktop.plist ; \ +defaults delete ~/Library/Preferences/com.apple.RemoteDesktop.plist ; \ +sudo rm -r /Library/Application\ Support/Apple/Remote\ Desktop/ ; \ +rm -r ~/Library/Application\ Support/Remote\ Desktop/ ; \ rm -r ~/Library/Containers/com.apple.RemoteDesktop ```