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