cracklib-words: interpolate version
This commit is contained in:
parent
9005272c5b
commit
c6f2df0b64
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ class CracklibWords < Formula
|
|||
depends_on 'cracklib'
|
||||
|
||||
def install
|
||||
system "gzip", "-d", "cracklib-words-20080507.gz"
|
||||
share.install "cracklib-words-20080507" => "cracklib-words"
|
||||
system "gzip", "-d", "cracklib-words-#{version}.gz"
|
||||
share.install "cracklib-words-#{version}" => "cracklib-words"
|
||||
system "/bin/sh", "-c", "#{HOMEBREW_PREFIX}/sbin/cracklib-packer < #{share}/cracklib-words"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue