summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postinst.in
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-01-20 18:23:36 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-01-20 18:29:29 -0800
commit4de0fbab63796705974d2c213fb6e17c92cd807a (patch)
tree2a396b9148deb6fd1f636e2598ba1a3eea346c2e /debian/vyatta-op.postinst.in
parentda81092b2937ad388d0a99761080c0161cdf1a44 (diff)
downloadvyatta-op-4de0fbab63796705974d2c213fb6e17c92cd807a.tar.gz
vyatta-op-4de0fbab63796705974d2c213fb6e17c92cd807a.zip
correctly handle renamed file
(cherry picked from commit 9fb4fcd4c4509772cd36bb9f547b544ec3b91cda)
Diffstat (limited to 'debian/vyatta-op.postinst.in')
-rw-r--r--debian/vyatta-op.postinst.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
index b5d475b..c8f1303 100644
--- a/debian/vyatta-op.postinst.in
+++ b/debian/vyatta-op.postinst.in
@@ -10,3 +10,7 @@ ln -sf /opt/vyatta/sbin/vyatta-interfaces.pl ${bindir}/sudo-users/vyatta-interfa
# rm symlink for sendmail that was added by ssmtp package
rm -f /usr/sbin/sendmail
+
+# handle renamed file (not automatically deleted since it was "conffile")
+rm -f /etc/bash_completion.d/10vyatta-op
+