abuild: check for /usr/lib/charset.alias and error out if found
This commit is contained in:
parent
4234a10e92
commit
b0ea14135d
|
@ -647,6 +647,12 @@ postcheck() {
|
||||||
echo "$i"
|
echo "$i"
|
||||||
return 1
|
return 1
|
||||||
fi
|
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
|
# check directory permissions
|
||||||
i=$(find "$dir" -type d -perm -777 | sed "s|^$dir|\t|")
|
i=$(find "$dir" -type d -perm -777 | sed "s|^$dir|\t|")
|
||||||
if [ -n "$i" ]; then
|
if [ -n "$i" ]; then
|
||||||
|
|
Loading…
Reference in New Issue