summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-03 11:19:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-03 11:19:25 +0000
commit7fb94045b222e9e441215755a98fd0b776ec99da (patch)
treea0e826ed33ce61487e98994e80619eb79b24d800 /abuild.in
parentf654134675754c19f1b69f78c042c44da5aa0880 (diff)
downloadabuild-7fb94045b222e9e441215755a98fd0b776ec99da.tar.gz
abuild-7fb94045b222e9e441215755a98fd0b776ec99da.tar.bz2
abuild-7fb94045b222e9e441215755a98fd0b776ec99da.tar.xz
abuild-7fb94045b222e9e441215755a98fd0b776ec99da.zip
abuild: add warning if /usr/share/local found
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 76eb4a0..27c0f4d 100755
--- a/abuild.in
+++ b/abuild.in
@@ -476,6 +476,10 @@ prepare_subpackages() {
echo "$i" | sed 's/^/ /'
return 1
fi
+ # post check for /usr/share/locale
+ if [ -d "$pkgdir"/usr/share/locale ]; then
+ warning "Found /usr/share/local. Maybe add \$pkgname-lang to subpackages?"
+ fi
}
default_lang() {