Revision 19042,
757 bytes
checked in by ghudson, 22 years ago
(diff) |
Add gnome-panel Athena default schema and associated files.
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | if [ -f $HOME/.athena-evo-noask ]; then |
---|
4 | mailer=evolution |
---|
5 | elif [ -f $HOME/.athena-xmh-noask ]; then |
---|
6 | mailer=xmh |
---|
7 | elif [ ! -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 |
---|
12 | else |
---|
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 |
---|
36 | fi |
---|
37 | |
---|
38 | case $mailer in |
---|
39 | evolution) |
---|
40 | exec evolution --no-splash |
---|
41 | ;; |
---|
42 | xmh) |
---|
43 | exec xmh |
---|
44 | ;; |
---|
45 | pine-info) |
---|
46 | exec htmlview http://web.mit.edu/release/pine.html |
---|
47 | ;; |
---|
48 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.