diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-04-01 18:02:38 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-04-01 18:02:38 +0000 |
commit | 38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb (patch) | |
tree | c6121458727439a3acdac220838223ddc285573b /german | |
parent | 94ed71ab22108a204324ce763e0b90ce59ce9f28 (diff) | |
download | FreeBSD-ports-38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb.zip FreeBSD-ports-38ab8e0f1cb888bbe3283734c2f7b1dbdc1a2bbb.tar.gz |
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 '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 491f55e..49cb4fc 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 491f55e..49cb4fc 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 |