summaryrefslogtreecommitdiff
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:23:36 -0800
commit9fb4fcd4c4509772cd36bb9f547b544ec3b91cda (patch)
treeb0bcbadb3c049c2e59475bb8b1e3f19707742e0b
parent6a0dfdb405bb0f2103b0a290ec377b5a831372de (diff)
downloadvyatta-op-9fb4fcd4c4509772cd36bb9f547b544ec3b91cda.tar.gz
vyatta-op-9fb4fcd4c4509772cd36bb9f547b544ec3b91cda.zip
correctly handle renamed file
-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
+