Skip to content

Commit

Permalink
Merge pull request #5579 from rolandwalker/caskroom_only_install_phase
Browse files Browse the repository at this point in the history
bug: use `install_phase` in `caskroom_only` and `qlplugin`
  • Loading branch information
rolandwalker committed Jul 30, 2014
2 parents 426911b + 71c57b3 commit 36c0852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cask/artifact/caskroom_only.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def self.artifact_dsl_key
:caskroom_only
end

def install
def install_phase
# do nothing
end
end
2 changes: 1 addition & 1 deletion lib/cask/artifact/qlplugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def self.artifact_english_name
'QuickLook Plugin'
end

def install
def install_phase
super
@command.run!('/usr/bin/qlmanage', :args => ['-r'])
end
Expand Down

0 comments on commit 36c0852

Please sign in to comment.