summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postrm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-cfg.postrm.in')
-rw-r--r--debian/vyatta-cfg.postrm.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postrm.in b/debian/vyatta-cfg.postrm.in
index c211589..2e50b32 100644
--- a/debian/vyatta-cfg.postrm.in
+++ b/debian/vyatta-cfg.postrm.in
@@ -1,5 +1,9 @@
#!/bin/bash
+if [ "$1" = "remove" ]; then
+ ldconfig
+fi
+
if [ "$1" = "purge" ]; then
update-rc.d vyatta-router remove >/dev/null || exit $?
fi