bumblebee: move bash completion file to proper dir.

This commit is contained in:
xdave 2013-06-17 08:58:26 -06:00
parent ab24b39472
commit 13fa8b94ff

View File

@ -20,17 +20,14 @@ long_desc="
while waiting for kernel and drivers to support these notebooks."
post_install() {
# ??? Stop nvidia from loading on boot
#mkdir -p ${DESTDIR}/usr/lib/modprobe.d
#echo "blacklist nvidia" > ${DESTDIR}/usr/lib/modprobe.d/bumblebee.conf
# Install systemd unit
vinstall scripts/systemd/bumblebeed.service 644 \
usr/lib/systemd/system
# Make bash_completion work
mkdir -p ${DESTDIR}/usr/share/bash-completion/completions
mv -v ${DESTDIR}/etc/bash_completion.d/bumblebee \
${DESTDIR}/etc/bash_completion.d/optirun
${DESTDIR}/usr/share/bash-completion/completions/optirun
}