diff options
| author | Jack Nagel | 2014-11-10 11:44:31 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-10 11:56:31 -0600 |
| commit | 1440f9e54b5139ee69194a98acf811ded07ebf32 (patch) | |
| tree | 40c65390ff0bc2573916ca0852721a26f15c9273 /Library | |
| parent | 522c93a86f456ca15afb4e25d699923d664f9bb8 (diff) | |
| download | homebrew-1440f9e54b5139ee69194a98acf811ded07ebf32.tar.bz2 | |
cracklib-words: move cracklib-packer invocation to post_install
Fixes #34066.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cracklib-words.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/cracklib-words.rb b/Library/Formula/cracklib-words.rb index 83c8489a4..d2283312d 100644 --- a/Library/Formula/cracklib-words.rb +++ b/Library/Formula/cracklib-words.rb @@ -16,6 +16,9 @@ class CracklibWords < Formula def install share.install "cracklib-words-#{version}" => "cracklib-words" - system "/bin/sh", "-c", "#{HOMEBREW_PREFIX}/sbin/cracklib-packer < #{share}/cracklib-words" + end + + def post_install + system "#{Formula["cracklib"].opt_bin}/cracklib-packer < #{share}/cracklib-words" end end |
