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
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | if ! [ -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" system:anyuser none |
---|
13 | fi |
---|
14 | fi |
---|
15 | : ${NAME:=$(getent passwd "$USER" | cut -d: -f5 | cut -d, -f1)} |
---|
16 | : ${POBOX:=$(hesinfo "${ATHENA_USER:-USER}" pobox | awk '{print $2}')} |
---|
17 | export NAME POBOX |
---|
18 | |
---|
19 | exec "$0.debathena-orig" "$@" |
---|
Note: See
TracBrowser
for help on using the repository browser.