daisydisk.rb `after_install`: full paths+list form

use safer list form of `system`.  use full paths to external
utilities.
This commit is contained in:
Roland Walker 2014-03-01 09:45:49 -05:00
parent f0658623c7
commit 1f7776fb25
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ class Daisydisk < Cask
after_install do
# Don't ask to move the app bundle to /Applications
system 'defaults write com.daisydiskapp.DaisyDiskStandAlone moveToApplicationsFolderAlertSuppress -bool true'
system '/usr/bin/defaults', 'write', 'com.daisydiskapp.DaisyDiskStandAlone', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
end