xref: /AOO41X/main/shell/source/unix/misc/kde-open-url.sh (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir#!/bin/sh
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir# special handling for mailto: uris
4*cdf0e10cSrcweirif echo $1 | grep '^mailto:' > /dev/null; then
5*cdf0e10cSrcweir  kmailservice "$1" &
6*cdf0e10cSrcweirelse
7*cdf0e10cSrcweir  kfmclient openURL "$1" &
8*cdf0e10cSrcweirfi
9*cdf0e10cSrcweir
10*cdf0e10cSrcweirexit 0
11