From c60ad3bf2ad3754d4697249676c2c85043a27f77 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 24 Sep 2011 11:29:17 +0300 Subject: =?UTF-8?q?Only=20reset=20Launchpad=20when=20it=E2=80=99s=20actual?= =?UTF-8?q?ly=20available.=20Fixes=20#24.?= 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 268dc3d..a28ff61 100755 --- a/.osx +++ b/.osx @@ -135,7 +135,7 @@ defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false defaults write com.apple.dashboard devmode -bool true # Reset Launchpad -rm ~/Library/Application\ Support/Dock/*.db +[ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db # Show the ~/Library folder chflags nohidden ~/Library -- cgit v1.2.3