aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 5e97330b9..91320cf9a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -484,6 +484,17 @@ EOF
def skip_clean_paths
@skip_clean_paths or []
end
+
+ # 'aka' is no longer used to define aliases, so have it print out
+ # a notice about the change. This will alert people with private
+ # formulae that they need to update.
+ # This notice will be removed in version 0.9
+ def aka args
+ onoe "#{name}: 'aka' is no longer used to define aliases"
+ puts "To define an alias, create a relative symlink from"
+ puts "Aliases to Formula. The name of the symlink will be"
+ puts "detected as an alias for the target formula."
+ end
end
end