abuild: add warning if /usr/share/local found

This commit is contained in:
Natanael Copa 2011-10-03 11:19:25 +00:00
parent f654134675
commit 7fb94045b2

View File

@ -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() {