summaryrefslogtreecommitdiff
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:20:40 -0800
commit61a954a8ae75898b873ef502e2b85695004110d2 (patch)
tree7069fc2e9a0500837b8da0ecdaaf495e64cdd388
parenta5dc7b80c0bf7657e755ee1da4e608a6b29cb994 (diff)
downloadvyatta-cfg-61a954a8ae75898b873ef502e2b85695004110d2.tar.gz
vyatta-cfg-61a954a8ae75898b873ef502e2b85695004110d2.zip
correctly handle renamed file
-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
+