aspell: update remaining method names

Closes Homebrew/homebrew#19367.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Alexander Wenzowski 2013-04-22 18:18:06 -04:00 committed by Jack Nagel
parent dd1542a9de
commit af2c5ef498

View file

@ -490,12 +490,12 @@ class Aspell < Formula
languages = []
available_languages.each do |lang|
aspell_available_languages.each do |lang|
languages << lang if build.with? "lang-#{lang}"
end
if build.include? 'all'
languages << available_languages.to_a
languages << aspell_available_languages.to_a
elsif languages.empty?
languages << "en"
end