From d60f4ffcd80a984018c61f9ca60269d42a055bf8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 9 Mar 2012 12:37:23 -0600 Subject: Restore cleaning of lib/charset.alias Even though we now prevent linking of this file into the prefix in Keg#link, its presence still triggers a "non-lib in lib" warning during installation. So keep cleaning it, and leave the check in Keg#link so things that skip_clean 'lib' still won't have it linked. Signed-off-by: Jack Nagel --- Library/Homebrew/cleaner.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb index 14a69c3ae..ea5ece779 100644 --- a/Library/Homebrew/cleaner.rb +++ b/Library/Homebrew/cleaner.rb @@ -78,6 +78,8 @@ class Cleaner elsif path.extname == '.la' # *.la files are stupid path.unlink unless @f.skip_clean? path + elsif path == @f.lib+'charset.alias' + path.unlink unless @f.skip_clean? path elsif not path.symlink? clean_file path end -- cgit v1.2.3