diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-17 10:00:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-17 10:23:33 +0200 |
commit | 288d1a3ff4a5b2b96b278c791c52376d2c3c980b (patch) | |
tree | c829152197dbe24ce4b643e9a30cefd9f068a68f /shell/source | |
parent | c975d6b751c48471d413b2e15ccb86e742e9e231 (diff) |
Remove unused run_browser()
...unused right from the start in 3d5468a8590ff9b36ac16845782af118d07b7786
"INTEGRATION: CWS defaultbrowser: #i27120# new unix shell execute service
implementation."
Change-Id: I18ae3c4c372163787e9bd4f8c946e15128a9deeb
Diffstat (limited to 'shell/source')
-rwxr-xr-x | shell/source/unix/misc/open-url.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/shell/source/unix/misc/open-url.sh b/shell/source/unix/misc/open-url.sh index ff923751ea0f..4b1d6d41c3c7 100755 --- a/shell/source/unix/misc/open-url.sh +++ b/shell/source/unix/misc/open-url.sh @@ -45,22 +45,6 @@ run_mozilla() { 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 if echo $1 | grep '^mailto:' > /dev/null; then # check for xdg-email |