bash-completion: remove completions provided by util-linux.
This commit is contained in:
parent
bcb6c8b0bd
commit
148ea40a94
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bash-completion'
|
# Template file for 'bash-completion'
|
||||||
pkgname=bash-completion
|
pkgname=bash-completion
|
||||||
version=2.1
|
version=2.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="bash"
|
makedepends="bash"
|
||||||
short_desc="Programmable completion for the GNU Bash shell"
|
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
|
commands, reducing the amount of typing sysadmins and programmers need to
|
||||||
do on a daily basis."
|
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() {
|
bash-completion_package() {
|
||||||
depends="bash"
|
depends="bash"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue