summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-01-20 18:20:40 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-01-20 18:28:41 -0800
commitb99d20320beaa93b919b7af9a8cc750adad3deb4 (patch)
tree33044cf78d79e70330f10506f5278882b0a6abf5 /debian
parentd0da04ad2d55865677f31a4da16f0272ceee5268 (diff)
downloadvyatta-cfg-b99d20320beaa93b919b7af9a8cc750adad3deb4.tar.gz
vyatta-cfg-b99d20320beaa93b919b7af9a8cc750adad3deb4.zip
correctly handle renamed file
(cherry picked from commit 61a954a8ae75898b873ef502e2b85695004110d2)
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index f4bc76e..237dc99 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -33,3 +33,6 @@ for bin in my_cli_bin my_cli_shell_api my_commit; do
setcap cap_sys_admin=pe $sbindir/$bin
done
+# handle renamed file (not automatically deleted since it was "conffile")
+rm -f /etc/bash_completion.d/20vyatta-cfg
+