summaryrefslogtreecommitdiff
path: root/debian/openssh-known-hosts.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-known-hosts.prerm')
-rw-r--r--debian/openssh-known-hosts.prerm3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-known-hosts.prerm b/debian/openssh-known-hosts.prerm
index 0a34eba..b5730c7 100644
--- a/debian/openssh-known-hosts.prerm
+++ b/debian/openssh-known-hosts.prerm
@@ -40,6 +40,9 @@ if [ -L /etc/ssh/ssh_known_hosts ] && \
rm /etc/ssh/ssh_known_hosts
fi
+rmdir /usr/local/share/openssh-known-hosts/plugins 2>/dev/null || true
+rmdir /usr/local/share/openssh-known-hosts 2>/dev/null || true
+
exit 0