Friday, April 4, 2014

When installing IBM Installation Manager in Linux, might fail with Unable to find supported browser

When installing IBM Installation Manager in Linux, to start the launcpad might fail with Unable to find supported browser

I'm currently using Firefox 25, but the launchpad.sh seems to configure to run to version before 10.

If you can't revert to older version, you may just edit the launchpad/browser.sh script

Here's the launchpad/browser.sh script

supportedFirefoxVersion() 

       case "$*" in 
              *Firefox\ [1-9].*) return 0;; 
              *Firefox/[1-9].*) return 0;; 
              *Firefox*) return 1;; 
              *rv:1.[7-9]*) return 0;; 
              *rv:[2-9].*) return 0;; 
              *rv:*) return 1;; 
              Mozilla*\ 1.[7-9]*) return 0;; 
              Mozilla*\ [2-9].[0-9]*) return 0;; 
              *) return 1;; 
       esac 
}

Need to be edited as

supportedFirefoxVersion() 

       case "$*" in 
              *Firefox\ [1-9][0-9].*) return 0;; 
              *Firefox/[1-9][0-9].*) return 0;; 
              *Firefox\ [1-9].*) return 0;; 
              *Firefox/[1-9].*) return 0;; 
              *Firefox*) return 1;; 
              *rv:1.[7-9]*) return 0;; 
              *rv:[2-9].*) return 0;; 
              *rv:*) return 1;; 
              Mozilla*\ 1.[7-9]*) return 0;; 
              Mozilla*\ [2-9].[0-9]*) return 0;; 
              *) return 1;; 
       esac 
}

No comments: