source: trunk/debathena/debathena/dotfiles/gnome/mail-script @ 19042

Revision 19042, 757 bytes checked in by ghudson, 21 years ago (diff)
Add gnome-panel Athena default schema and associated files.
Line 
1#!/bin/sh
2
3if [ -f $HOME/.athena-evo-noask ]; then
4  mailer=evolution
5elif [ -f $HOME/.athena-xmh-noask ]; then
6  mailer=xmh
7elif [ ! -f $HOME/Mail/inbox/.xmhcache ]; then
8  # Doesn't look like the user has run xmh before.  Wire the mail
9  # launcher to Evolution.
10  mailer=evolution
11  touch $HOME/.athena-evo-noask
12else
13  mail-dialog
14  case $? in
15  0)
16    mailer=evolution
17    ;;
18  1)
19    mailer=xmh
20    ;;
21  2)
22    mailer=evolution
23    touch $HOME/.athena-evo-noask
24    ;;
25  3)
26    mailer=xmh
27    touch $HOME/.athena-xmh-noask
28    ;;
29  4)
30    mailer=pine-info
31    ;;
32  *)
33    exit
34    ;;
35  esac
36fi
37
38case $mailer in
39evolution)
40  exec evolution --no-splash
41  ;;
42xmh)
43  exec xmh
44  ;;
45pine-info)
46  exec htmlview http://web.mit.edu/release/pine.html
47  ;;
48esac
Note: See TracBrowser for help on using the repository browser.