diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-26 07:22:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-26 07:22:45 +0000 |
commit | b0ea14135d03239de340a21103d18ff675f7c47f (patch) | |
tree | 272c5314eaa774e9846e7a4b033fdaf11fc7096c | |
parent | 4234a10e92f103a33baa0c70780ac7e09e6a9484 (diff) | |
download | abuild-b0ea14135d03239de340a21103d18ff675f7c47f.tar.gz abuild-b0ea14135d03239de340a21103d18ff675f7c47f.tar.bz2 abuild-b0ea14135d03239de340a21103d18ff675f7c47f.tar.xz abuild-b0ea14135d03239de340a21103d18ff675f7c47f.zip |
abuild: check for /usr/lib/charset.alias and error out if found
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |