Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Check if `tmutil` is available before using it. (It’s not available o…

…n Snow Leopard.)
  • Loading branch information...
commit 439e6f5ade515c4f776c8d119d37616debf54509 1 parent ba9b8b8
@mathiasbynens authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .osx
2  .osx
@@ -141,7 +141,7 @@ rm ~/Library/Application\ Support/Dock/*.db
chflags nohidden ~/Library
# Disable local Time Machine backups
-sudo tmutil disablelocal
+hash tmutil &> /dev/null && sudo tmutil disablelocal
# Kill affected applications
for app in Safari Finder Dock Mail; do killall "$app"; done
Please sign in to comment.
Something went wrong with that request. Please try again.