source: trunk/debathena/config/email-icon-config/debian/debathena-email-switch @ 23862

Revision 23862, 398 bytes checked in by broder, 15 years ago (diff)
In email-icon-config: * Since the alternatives for sensible-browser are messed up on Ubuntu, prefer Firefox over Iceweasel over sensible-browser when opening OWA.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3if [ "$DEBATHENA_HOME_TYPE" = "afs" ] && hesinfo "$USER" pobox | egrep -q "^POP (IMAP\.)?EXCHANGE\.MIT\.EDU "; then
4    if hash firefox >/dev/null 2>&1; then
5        browser=firefox
6    elif hash iceweasel >/dev/null 2>&1; then
7        browser=iceweasel
8    else
9        browser=sensible-browser
10    fi
11    exec "$browser" http://owa.mit.edu/
12else
13    exec evolution --component=mail
14fi
Note: See TracBrowser for help on using the repository browser.