summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-04-30 15:54:26 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-30 15:54:26 +0200
commitf0208e344b2500e9338885e6177dd2c4f52c6373 (patch)
treefd35c830b80c97baefbddbf92ce60683dd6fa5cd /shell
parent77d4873ee653549eb8fb8761253f9feb1eea1c11 (diff)
Add a comment why we do what we do ;-)
Change-Id: I9686ed60c31129fc4bacf63fec2d6314bf513c73
Diffstat (limited to 'shell')
-rwxr-xr-xshell/source/unix/misc/senddoc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index 692930ec2eec..f3657e69f90c 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -400,6 +400,10 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
;;
*)
+ # The user has tweaked the email settings, and configured something we
+ # do not recognize. Try to be smart, and send the mail anyway, if we
+ # have the possibility to do so.
+
if [ -x /usr/bin/gnome-open ] ; then
MAILER = /usr/bin/gnome-open
elif [ -x /usr/bin/xdg-open ] ; then