aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-04-01 18:02:38 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-04-01 18:02:38 +0000
commite42ae8238894202cde1c680095b9d3f91cab5c1a (patch)
treecfde33bbeef7449aad1c8d4ab4943eae078845aa /german
parente3113c7ecd4691b075d6126e016903b389080503 (diff)
downloadports-e42ae8238894202cde1c680095b9d3f91cab5c1a.tar.gz
ports-e42ae8238894202cde1c680095b9d3f91cab5c1a.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.
Notes
Notes: svn path=/head/; revision=40696
Diffstat (limited to 'german')
-rw-r--r--german/citrix_ica/pkg-plist2
-rw-r--r--german/citrix_xenapp/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/german/citrix_ica/pkg-plist b/german/citrix_ica/pkg-plist
index 491f55e1f5b0..49cb4fc4e6ee 100644
--- a/german/citrix_ica/pkg-plist
+++ b/german/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
diff --git a/german/citrix_xenapp/pkg-plist b/german/citrix_xenapp/pkg-plist
index 491f55e1f5b0..49cb4fc4e6ee 100644
--- a/german/citrix_xenapp/pkg-plist
+++ b/german/citrix_xenapp/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