summaryrefslogtreecommitdiff
path: root/shell/source/unix/misc/senddoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/unix/misc/senddoc.sh')
-rw-r--r--shell/source/unix/misc/senddoc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index a214b6a394b1..16882934f6fa 100644
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -24,7 +24,7 @@ run_mozilla() {
moz=$1
fi
- if file "$moz" | grep "script" > /dev/null && grep "NPL" "$moz" > /dev/null; then
+ if file "$moz" | grep "script" > /dev/null && grep "[NM]PL" "$moz" > /dev/null; then
"$moz" -remote 'ping()' 2>/dev/null >/dev/null
if [ $? -eq 2 ]; then
"$1" -compose "$2" &
@@ -94,7 +94,7 @@ fi
# autodetect mail client from executable name
case `basename "$MAILER" | sed 's/-.*$//'` in
- mozilla | netscape | thunderbird)
+ mozilla | netscape | seamonkey | thunderbird)
while [ "$1" != "" ]; do
case $1 in