source: trunk/debathena/config/thunderbird-config/debian/thunderbird.debathena @ 24889

Revision 24889, 1019 bytes checked in by jdreed, 14 years ago (diff)
In thunderbird-config: * Unbreak Thunderbird 3 by temporarily making the package do nothing * Inform the user that configuration no longer works.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3if ! [ -d "$HOME/.mozilla-thunderbird" ]; then
4    if [ -d "$HOME/.thunderbird" ] && ! [ -L "$HOME/.thunderbird" ]; then
5        mv "$HOME/.thunderbird" "$HOME/.mozilla-thunderbird"
6        ln -s "$HOME/.mozilla-thunderbird" "$HOME/.thunderbird"
7    else
8        FIRSTRUN="Due to an upstream change in Thunderbird, automatic configuration of MIT e-mail accounts is no longer available. You will need to manually configure Thunderbird to access your MIT e-mail.  Configuration instructions may be found in http://kb.mit.edu.  We apologize for the inconvenience."
9        if [ -x "/usr/bin/zenity" ] && [ ! -z "$DISPLAY" ]; then
10            /usr/bin/zenity --info --title="Configuration" --text="$FIRSTRUN"
11        else
12            echo $FIRSTRUN | /usr/bin/fold -s -w 72 >&2
13        fi
14        mkdir -p "$HOME/.mozilla-thunderbird"
15    fi
16
17    if [ afs = "$DEBATHENA_HOME_TYPE" ]; then
18        fs sa "$HOME/.mozilla-thunderbird" "$ATHENA_USER" all -clear
19    fi
20fi
21: ${NAME:=$(getent passwd "$USER" | cut -d: -f5 | cut -d, -f1)}
22export NAME
23
24exec "$0.debathena-orig" "$@"
Note: See TracBrowser for help on using the repository browser.