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

Revision 23918, 608 bytes checked in by broder, 15 years ago (diff)
In thunderbird-config: * Whitelist the AFS ACL on the Thunderbird profile instead of blacklisting.
  • 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        mkdir -p "$HOME/.mozilla-thunderbird"
9    fi
10
11    if [ afs = "$DEBATHENA_HOME_TYPE" ]; then
12        fs sa "$HOME/.mozilla-thunderbird" "$ATHENA_USER" all -clear
13    fi
14fi
15: ${NAME:=$(getent passwd "$USER" | cut -d: -f5 | cut -d, -f1)}
16: ${POBOX:=$(hesinfo "${ATHENA_USER:-USER}" pobox | awk '{print $2}')}
17export NAME POBOX
18
19exec "$0.debathena-orig" "$@"
Note: See TracBrowser for help on using the repository browser.