bash-completion: remove completions provided by util-linux.

This commit is contained in:
Juan RP 2013-09-14 05:31:28 +02:00
parent bcb6c8b0bd
commit 148ea40a94
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'bash-completion'
pkgname=bash-completion
version=2.1
revision=1
revision=2
build_style=gnu-configure
makedepends="bash"
short_desc="Programmable completion for the GNU Bash shell"
@ -17,6 +17,14 @@ long_desc="
commands, reducing the amount of typing sysadmins and programmers need to
do on a daily basis."
post_install() {
# remove completions provided by util-linux.
for f in su dmesg ionice rtcwake look hexdump chsh renice hwclock \
cal eject newgrp; do
rm -f ${DESTDIR}/usr/share/bash-completion/completions/${f}
done
}
bash-completion_package() {
depends="bash"
noarch="yes"