Merge pull request #3344 from lemmi/bash-completion

bash-completion: source from bashrc, not profile
This commit is contained in:
Juan RP 2016-01-09 08:39:21 +01:00
commit 836ce896a5

View File

@ -1,7 +1,7 @@
# Template file for 'bash-completion'
pkgname=bash-completion
version=2.1
revision=5
revision=6
noarch="yes"
build_style=gnu-configure
makedepends="bash"
@ -21,4 +21,7 @@ post_install() {
done
# remove nmcli provided by NetworkManager.
rm -f ${DESTDIR}/usr/share/bash-completion/completions/nmcli
# move to bashrc.d to work after su
vmkdir /etc/bash/bashrc.d/
mv ${DESTDIR}/etc/profile.d/bash_completion.sh ${DESTDIR}/etc/bash/bashrc.d/bash_completion.sh
}