From 439e6f5ade515c4f776c8d119d37616debf54509 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 24 Sep 2011 11:26:15 +0300 Subject: =?UTF-8?q?Check=20if=20`tmutil`=20is=20available=20before=20using?= =?UTF-8?q?=20it.=20(It=E2=80=99s=20not=20available=20on=20Snow=20Leopard.?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .osx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.osx') diff --git a/.osx b/.osx index 27a61ac..268dc3d 100755 --- a/.osx +++ b/.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 -- cgit v1.2.3