From 7fb94045b222e9e441215755a98fd0b776ec99da Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 3 Oct 2011 11:19:25 +0000 Subject: [PATCH] abuild: add warning if /usr/share/local found --- abuild.in | 4 ++++ 1 file changed, 4 insertions(+) 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() {