summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-17 10:00:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-17 10:23:33 +0200
commit288d1a3ff4a5b2b96b278c791c52376d2c3c980b (patch)
treec829152197dbe24ce4b643e9a30cefd9f068a68f /shell
parentRelated: fdo#38838 remove String::CompareToAscii (diff)
downloadcore-288d1a3ff4a5b2b96b278c791c52376d2c3c980b.tar.gz
core-288d1a3ff4a5b2b96b278c791c52376d2c3c980b.zip
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')
-rwxr-xr-xshell/source/unix/misc/open-url.sh16
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