aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-04-26 22:08:31 -0700
committerMathias Bynens <mathias@qiwi.be>2012-04-26 22:08:31 -0700
commit2f4263d29312b57a6ab02ad54e611f4207fe85af (patch)
treecf5285e0824d92a8c5e1fcd8d3149be7ed2c56c6
parent3cf002e7265efd46aeff3014697667380110eade (diff)
parentd2b0cd88538b76c79f24d6cca8fcdeb83bb5d796 (diff)
downloaddotfiles-2f4263d29312b57a6ab02ad54e611f4207fe85af.tar.gz
dotfiles-2f4263d29312b57a6ab02ad54e611f4207fe85af.tar.bz2
dotfiles-2f4263d29312b57a6ab02ad54e611f4207fe85af.zip
Merge pull request #59 from aristidesfl/patch-1
.osx: Fix error thrown when resetting Launchpad in some conditions Fixes #56.
-rwxr-xr-x.osx2
1 files changed, 1 insertions, 1 deletions
diff --git a/.osx b/.osx
index 483ec05..b6307d9 100755
--- a/.osx
+++ b/.osx
@@ -219,7 +219,7 @@ defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
defaults write com.apple.dashboard devmode -bool true
# Reset Launchpad
-[ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db
+find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete
# Prevent Time Machine from prompting to use new hard drives as backup volume
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true