diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-04-01 18:02:38 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-04-01 18:02:38 +0000 |
commit | e42ae8238894202cde1c680095b9d3f91cab5c1a (patch) | |
tree | cfde33bbeef7449aad1c8d4ab4943eae078845aa /german | |
parent | e3113c7ecd4691b075d6126e016903b389080503 (diff) | |
download | ports-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-plist | 2 | ||||
-rw-r--r-- | german/citrix_xenapp/pkg-plist | 2 |
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 |