diff --git a/Casks/alfred.rb b/Casks/alfred.rb index be5f3cb1d..f2432ebf2 100644 --- a/Casks/alfred.rb +++ b/Casks/alfred.rb @@ -8,7 +8,7 @@ class Alfred < Cask link 'Alfred 2.app' link 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app' - after_install do + postflight do # Don't ask to move the app bundle to /Applications system '/usr/bin/defaults', 'write', 'com.runningwithcrayons.alfred-2', 'suppressMoveToApplications', '-bool', 'true' end