Enable bash-completion as it's installed

Signed-off-by: Laurent Vallar <val@zbla.net>
This commit is contained in:
Laurent Vallar 2014-02-13 09:46:08 +01:00 committed by Fabio Rehm
parent bba250255a
commit 773e717fd9

View file

@ -109,6 +109,10 @@ PACKAGES=(vim curl wget man-db bash-completion ca-certificates)
chroot ${ROOTFS} apt-get install ${PACKAGES[*]} -y --force-yes
chroot ${ROOTFS} apt-get upgrade -y --force-yes
# Enable bash-completion
sed -e '/^#if ! shopt -oq posix; then/,/^#fi/ s/^#\(.*\)/\1/g' \
-i ${ROOTFS}/etc/bash.bashrc
##################################################################################
# 6 - Configuration management tools