diff options
| author | Adam Vandenberg | 2012-02-12 11:38:49 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-12 20:08:57 -0800 |
| commit | 3f3917c2ec98b40cf7269b5f3c81f0ba7e27b92f (patch) | |
| tree | e26bf243cd779469cb2cb89f257a6b619dd54cfa /Library | |
| parent | b2e66ad45c73e6b12e17ba6a97dc4c5f5eb632e9 (diff) | |
| download | homebrew-3f3917c2ec98b40cf7269b5f3c81f0ba7e27b92f.tar.bz2 | |
duplicity: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/duplicity.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/duplicity.rb b/Library/Formula/duplicity.rb index 5fa8780c6..3092e5f16 100644 --- a/Library/Formula/duplicity.rb +++ b/Library/Formula/duplicity.rb @@ -1,8 +1,8 @@ require 'formula' class Duplicity < Formula - url 'http://launchpad.net/duplicity/0.6-series/0.6.17/+download/duplicity-0.6.17.tar.gz' homepage 'http://www.nongnu.org/duplicity/' + url 'http://launchpad.net/duplicity/0.6-series/0.6.17/+download/duplicity-0.6.17.tar.gz' md5 '36423ab4e3b9aa90c5c44d9fa93fba0f' depends_on 'librsync' @@ -18,10 +18,10 @@ class Duplicity < Formula "--install-scripts=#{bin}" # Shift files around to avoid needing a PYTHONPATH - system "mv #{bin}/duplicity #{bin}/duplicity.py" - system "mv #{bin}/* #{libexec}" - # Symlink the executables - ln_s "#{libexec}/duplicity.py", "#{bin}/duplicity" - ln_s "#{libexec}/rdiffdir", "#{bin}/rdiffdir" + system "mv", "#{bin}/duplicity", "#{bin}/duplicity.py" + system "mv", "#{bin}/*", "#{libexec}" + + bin.install_symlink "#{libexec}/duplicity.py" => "duplicity" + bin.install_symlink "#{libexec}/rdiffdir" end end |
