aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/rmtry.ucl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Keywords/rmtry.ucl b/Keywords/rmtry.ucl
new file mode 100644
index 000000000000..deddce913c9f
--- /dev/null
+++ b/Keywords/rmtry.ucl
@@ -0,0 +1,11 @@
+# $FreeBSD$
+#
+# MAINTAINER: portmgr@FreeBSD.org
+actions: []
+post-deinstall: <<EOD
+ case "%@" in
+ /*) f="%@" ;;
+ *) f="%D/%@" ;;
+ esac
+ /bin/rm -f $f 2>/dev/null || /usr/bin/true
+EOD