Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
77d4873e
Kaydet (Commit)
77d4873e
authored
Nis 24, 2012
tarafından
David Steele
Kaydeden (comit)
Jan Holesovsky
Nis 30, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#32621: Fall back to using the GNOME mailto URI handler if no valid mail program found
üst
f4eb738c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
2 deletions
+47
-2
senddoc.sh
shell/source/unix/misc/senddoc.sh
+47
-2
No files found.
shell/source/unix/misc/senddoc.sh
Dosyayı görüntüle @
77d4873e
...
@@ -400,8 +400,53 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -400,8 +400,53 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
;;
;;
*
)
*
)
echo
"Unsupported mail client:
`
basename
$MAILER
|
sed
's/-.*^//'
`
"
if
[
-x
/usr/bin/gnome-open
]
;
then
exit
2
MAILER
=
/usr/bin/gnome-open
elif
[
-x
/usr/bin/xdg-open
]
;
then
MAILER
=
/usr/bin/xdg-open
else
echo
"Unsupported mail client:
`
basename
$MAILER
|
sed
's/-.*^//'
`
"
exit
2
fi
while
[
"
$1
"
!=
""
]
;
do
case
$1
in
--to
)
if
[
"
${
TO
}
"
!=
""
]
;
then
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
to=
$2
"
else
TO
=
"
$2
"
fi
shift
;;
--cc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
shift
;;
--bcc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
shift
;;
--subject
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject"
=
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
shift
;;
--body
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
shift
;;
--attach
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attach="
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
shift
;;
*
)
;;
esac
shift
;
done
MAILTO
=
"mailto:
${
TO
}
?
${
MAILTO
}
"
${
MAILER
}
"
${
MAILTO
}
"
&
;;
;;
esac
esac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment