From 7df04d877673f74523315d2750a232fdcad2cb5d Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 21 Feb 2008 18:55:16 -0800 Subject: debian's latest update to "bash" (3.1dfsg-9) broke the completion mechanism. workaround is to source in our completion scripts directly. --- debian/vyatta-cfg-system.postinst.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 00dc0265..4006d908 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -56,6 +56,11 @@ mkdir -p /var/log/{user,vrrpd} touch /etc/environment +if [ ! -f /etc/bash_completion ]; then + echo "source /etc/bash_completion.d/10vyatta-op" > /etc/bash_completion + echo "source /etc/bash_completion.d/20vyatta-cfg" >> /etc/bash_completion +fi + # Local Variables: # mode: shell-script # sh-indentation: 4 -- cgit v1.2.3