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

Revision 23835, 602 bytes checked in by broder, 15 years ago (diff)
In thunderbird-config: * Only run fs if the user has an AFS homedir.
  • Property svn:executable set to *
RevLine 
[23710]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
[23835]11    if [ afs = "$DEBATHENA_HOME_TYPE" ]; then
12        fs sa "$HOME/.mozilla-thunderbird" system:anyuser none
13    fi
[23710]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.