bumblebee: move bash completion file to proper dir.
This commit is contained in:
parent
ab24b39472
commit
13fa8b94ff
1 changed files with 2 additions and 5 deletions
|
@ -20,17 +20,14 @@ long_desc="
|
||||||
while waiting for kernel and drivers to support these notebooks."
|
while waiting for kernel and drivers to support these notebooks."
|
||||||
|
|
||||||
post_install() {
|
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
|
# Install systemd unit
|
||||||
vinstall scripts/systemd/bumblebeed.service 644 \
|
vinstall scripts/systemd/bumblebeed.service 644 \
|
||||||
usr/lib/systemd/system
|
usr/lib/systemd/system
|
||||||
|
|
||||||
# Make bash_completion work
|
# Make bash_completion work
|
||||||
|
mkdir -p ${DESTDIR}/usr/share/bash-completion/completions
|
||||||
mv -v ${DESTDIR}/etc/bash_completion.d/bumblebee \
|
mv -v ${DESTDIR}/etc/bash_completion.d/bumblebee \
|
||||||
${DESTDIR}/etc/bash_completion.d/optirun
|
${DESTDIR}/usr/share/bash-completion/completions/optirun
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue