summaryrefslogtreecommitdiff
path: root/packaging/freebsd/pkg-deinstall
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 04:50:30 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 04:50:30 -0400
commite18b89b0214c423d3a3c118190aab6549e461d7f (patch)
tree487bab3f5671eafee3fd573864c7f42d96a2ca45 /packaging/freebsd/pkg-deinstall
parent4e5ac7b2fe553ce2f24dacb5d812fa8542bd89ca (diff)
initial attempts at user add scripts for FreeBSD packaging.
Diffstat (limited to 'packaging/freebsd/pkg-deinstall')
-rwxr-xr-xpackaging/freebsd/pkg-deinstall18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/freebsd/pkg-deinstall b/packaging/freebsd/pkg-deinstall
new file mode 100755
index 0000000..84217d5
--- /dev/null
+++ b/packaging/freebsd/pkg-deinstall
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# a package removal script for monkeysphere (borrowing from
+# monkeysphere's debian/monkeysphere.postrm)
+
+# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+# Copyright 2008
+
+# FIXME: is /var/lib/monkeysphere the right place for this stuff on
+# FreeBSD?
+VARLIB="/var/lib/monkeysphere"
+
+
+# FIXME: This needs to be filled in! Under what circumstances do we
+# want to actually purge all of /var/lib/monkeysphere?
+
+# (note: FreeBSD does not seem to want the package-specific user to be
+# purged at package removal)