Skip to content
Snippets Groups Projects
Commit 1a58bc28 authored by Mladen Milinkovic's avatar Mladen Milinkovic
Browse files

xdg-email fails on kde with desktop files #187

parent d11b33ec
No related branches found
No related tags found
1 merge request!42xdg-email fails on kde with desktop files #187
...@@ -98,6 +98,9 @@ open_kde() ...@@ -98,6 +98,9 @@ open_kde()
--group "PROFILE_$profile" \ --group "PROFILE_$profile" \
--key EmailClient \ --key EmailClient \
| cut -d ' ' -f 1) | cut -d ' ' -f 1)
if [ -z "${client%%*.desktop}" ] && ! which "$client" >/dev/null 2>&1; then
client=`desktop_file_to_binary "$client"`
fi
if echo "$client" | grep -Eq 'thunderbird|icedove'; then if echo "$client" | grep -Eq 'thunderbird|icedove'; then
run_thunderbird "$client" "$1" run_thunderbird "$client" "$1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment