mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
hooks: abort if l10n files found in /usr/lib
This commit is contained in:
parent
c78b0d77cd
commit
04825ced01
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ hook() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Check for l10n files in usr/lib/locale
|
||||||
|
if [ -d ${PKGDESTDIR}/usr/lib/locale ]; then
|
||||||
|
msg_red "${pkgver}: /usr/lib/locale is forbidden, use /usr/share/locale!\n"
|
||||||
|
error=1
|
||||||
|
fi
|
||||||
|
|
||||||
# Check for bash completions in etc/bash_completion.d
|
# Check for bash completions in etc/bash_completion.d
|
||||||
# should be on usr/share/bash-completion/completions
|
# should be on usr/share/bash-completion/completions
|
||||||
if [ -d ${PKGDESTDIR}/etc/bash_completion.d ]; then
|
if [ -d ${PKGDESTDIR}/etc/bash_completion.d ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue