aboutsummaryrefslogtreecommitdiffstats
path: root/net/citrix_ica
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-04-02 02:02:38 +0800
committerolgeni <olgeni@FreeBSD.org>2001-04-02 02:02:38 +0800
commit38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb (patch)
treec6121458727439a3acdac220838223ddc285573b /net/citrix_ica
parent94ed71ab22108a204324ce763e0b90ce59ce9f28 (diff)
downloadfreebsd-ports-gnome-38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb.tar.gz
freebsd-ports-gnome-38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb.tar.zst
freebsd-ports-gnome-38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb.zip
At deinstall time, remove the "application/x-ica" mime type from netscape's
mailcap and mime.types files. Do this only if the netscape files actually exist.
Diffstat (limited to 'net/citrix_ica')
-rw-r--r--net/citrix_ica/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/citrix_ica/pkg-plist b/net/citrix_ica/pkg-plist
index 491f55e1f5b0..49cb4fc4e6ee 100644
--- a/net/citrix_ica/pkg-plist
+++ b/net/citrix_ica/pkg-plist
@@ -1,3 +1,5 @@
+@unexec if [ -f %D/lib/netscape/mime.types ]; then (cat %D/lib/netscape/mime.types | grep -v "application/x-ica" > %D/lib/netscape/mime.types.tmp; mv %D/lib/netscape/mime.types.tmp %D/lib/netscape/mime.types); fi
+@unexec if [ -f %D/lib/netscape/mailcap ]; then (cat %D/lib/netscape/mailcap | grep -v "application/x-ica" > %D/lib/netscape/mailcap.tmp; mv %D/lib/netscape/mailcap.tmp %D/lib/netscape/mailcap); fi
bin/wfcmgr
bin/wfica
ICAClient/wfica