[Libreoffice-commits] .: shell/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Apr 30 06:54:44 PDT 2012
shell/source/unix/misc/senddoc.sh | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit f0208e344b2500e9338885e6177dd2c4f52c6373
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon Apr 30 15:54:26 2012 +0200
Add a comment why we do what we do ;-)
Change-Id: I9686ed60c31129fc4bacf63fec2d6314bf513c73
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index 692930e..f3657e6 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
More information about the Libreoffice-commits
mailing list