aboutsummaryrefslogtreecommitdiff
path: root/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall')
-rw-r--r--buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall9
1 files changed, 6 insertions, 3 deletions
diff --git a/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall b/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall
index 0e63b94c..4f93127c 100644
--- a/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall
+++ b/buildtools/freebsd-skeleton/rpki-ca/pkg-deinstall
@@ -30,6 +30,10 @@ DEINSTALL)
/bin/rm -f /usr/local/share/rpki/rpkid.cer
/bin/rm -f /usr/local/share/rpki/rpkid.key
+ # Clean up unpacked Python eggs.
+
+ /bin/rm -rf /usr/local/share/rpki/python-eggs
+
# If we were automatically dropping SQL databases, this would be
# where we'd want to record what databases to drop.
@@ -63,9 +67,8 @@ POST-DEINSTALL)
#
# Not really sure what to do about these. To the extent that
# I understand the theory on FreeBSD (which seems to be less
- # carefully worked out than on Debian, even though i've been
- # using FreeBSD longer), we're just supposed to leave these
- # for the user to clean up.
+ # carefully worked out than on Debian), we're just supposed to
+ # leave these for the user to clean up.
;;