diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-21 18:55:16 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-21 18:55:16 -0800 |
commit | 7df04d877673f74523315d2750a232fdcad2cb5d (patch) | |
tree | a1a6529d8c07661c1fb4abaf245401f955b0dff1 /debian | |
parent | 5041950d023df89284dc6bd877e4fb3a226c6ae6 (diff) | |
download | vyatta-cfg-system-7df04d877673f74523315d2750a232fdcad2cb5d.tar.gz vyatta-cfg-system-7df04d877673f74523315d2750a232fdcad2cb5d.zip |
debian's latest update to "bash" (3.1dfsg-9) broke the completion mechanism.
workaround is to source in our completion scripts directly.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |