Kaydet (Commit) 288d1a3f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused run_browser()

...unused right from the start in 3d5468a8
"INTEGRATION: CWS defaultbrowser: #i27120# new unix shell execute service
implementation."

Change-Id: I18ae3c4c372163787e9bd4f8c946e15128a9deeb
üst c975d6b7
...@@ -45,22 +45,6 @@ run_mozilla() { ...@@ -45,22 +45,6 @@ run_mozilla() {
fi fi
} }
# checks the browser value for a %s as defined in
# http://www.catb.org/~esr/BROWSER/index.html
run_browser() {
echo "$1|$2" | awk '
{
FS="|";
$syscmd="";
if (index($1,"%s") > 0) {
$syscmd=sprintf($1,$2);
} else {
$syscmd=sprintf("%s \"%s\"",$1,$2);
}
system($syscmd " &");
}' > /dev/null
}
# special handling for mailto: uris # special handling for mailto: uris
if echo $1 | grep '^mailto:' > /dev/null; then if echo $1 | grep '^mailto:' > /dev/null; then
# check for xdg-email # check for xdg-email
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment