From b0ea14135d03239de340a21103d18ff675f7c47f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 26 Jul 2013 07:22:45 +0000 Subject: abuild: check for /usr/lib/charset.alias and error out if found --- abuild.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index bc7d197..91f0a00 100755 --- a/abuild.in +++ b/abuild.in @@ -647,6 +647,12 @@ postcheck() { echo "$i" return 1 fi + # look for /usr/lib/charset.alias + if [ -e "$dir"/usr/lib/charset.alias ] \ + && ! options_has "charset.alias"; then + error "Found /usr/lib/charset.alias" + return 1 + fi # check directory permissions i=$(find "$dir" -type d -perm -777 | sed "s|^$dir|\t|") if [ -n "$i" ]; then -- cgit v1.2.3-60-g2f50