require 'formula'

class Getmail < Formula
  url 'http://pyropus.ca/software/getmail/old-versions/getmail-4.25.0.tar.gz'
  homepage 'http://pyropus.ca/software/getmail/'
  md5 'ec0be67bc1e472c13201c1e3a0c35e66'

  def install
    scripts = %w[ getmail getmail_fetch getmail_maildir getmail_mbox ]
    libexec.install 'getmailcore'
    libexec_scripts = libexec.install scripts
    bin.install_symlink *libexec_scripts
    man1.install Dir['docs/*.1']
  end
end

require 'formula'

class Getmail < Formula
  url 'http://pyropus.ca/software/getmail/old-versions/getmail-4.25.0.tar.gz'
  homepage 'http://pyropus.ca/software/getmail/'
  md5 'ec0be67bc1e472c13201c1e3a0c35e66'

  def install
    scripts = %w[ getmail getmail_fetch getmail_maildir getmail_mbox ]
    libexec.install 'getmailcore'
    libexec_scripts = libexec.install scripts
    bin.install_symlink libexec_scripts
    man1.install Dir['docs/*.1']
  end
end

Update return values of install and install_symlink
Update return values of install and install_symlink

These now return an Array of all the target destinations.
Previously, if a single argument was passed a single non-
Array was returned.

This behavior has been changed so that an Array is always returned
even for a single argument.

Updated the test.

Hopefully this won't break any custom code out there.
