source: trunk/debathena/debathena/xsession/debian/debathena-tracker.sh @ 24976

Revision 24976, 604 bytes checked in by jdreed, 13 years ago (diff)
In xsession: * Don't use dpkg-query because it slows logins down; instead ship actual scripts in /usr/share and source them (Trac #778)
Line 
1# This file is sourced by Xsession(5), not executed.
2
3if [ afs = "$DEBATHENA_HOME_TYPE" ] && \
4    [ -f "$HOME/.config/tracker/tracker.cfg" ] && \
5    [ "$(awk -F= '/^EnableIndexing/ { print $2}' $HOME/.config/tracker/tracker.cfg)" != "false" ]; then
6   
7    message "You currently have the Tracker applet configured to index" \
8        "your home directory, probably because you logged into an earlier" \
9        "version of Debathena.  This is undesirable, because it can interact" \
10        "poorly with the AFS cache and render AFS unusable.  To fix this," \
11        "run the following command:  athrun consult fix-tracker"
12fi
Note: See TracBrowser for help on using the repository browser.