package: install bash-completion files only with bash
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Mon, 19 Jan 2015 16:14:02 +0000 (18:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 26 Jan 2015 21:47:51 +0000 (22:47 +0100)
commit10e6284b70b6246dcccf9bff756c5f2f934ec5ed
tree034fd6d7f6305c1364426aa64a60ab806e56f237
parentafac57162f638e2799953fd8041d64ad383f41b9
package: install bash-completion files only with bash

package/systemd, package/kmod, package/util-linux: don't install
bash-completion files if bash is not selected to be installed.
Otherwise, install bash-completion files.

package/systemd: don't install zsh-completion files is zsh is not
selected to be installed. Otherwise, install zsh-completion files.

package/util-linux: don't install empty
/usr/share/bash-completion/completions directory if bash is not going to
be installed, and install bash-completion files if bash is selected to
be installed.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kmod/kmod.mk
package/systemd/systemd.mk
package/util-linux/util-linux.mk