Commit b0ea1413 authored by Natanael Copa's avatar Natanael Copa

abuild: check for /usr/lib/charset.alias and error out if found

parent 4234a10e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment