source: trunk/debathena/debathena/xsession/debian/96debathena-tracker @ 24439

Revision 24439, 707 bytes checked in by jhamrick, 15 years ago (diff)
In xsession: * Make sure debathena-xsession is installed before executing any of the scripts in /etc/X11/Xsession.d (Trac: #348)
Line 
1# This file is sourced by Xsession(5), not executed.
2
3if [ "$(dpkg-query -W -f '${Status}' debathena-xsession 2>/dev/null)" = "install ok installed" ] && \
4    [ afs = "$DEBATHENA_HOME_TYPE" ] && \
5    [ -f "$HOME/.config/tracker/tracker.cfg" ] && \
6    [ "$(awk -F= '/^EnableIndexing/ { print $2}' $HOME/.config/tracker/tracker.cfg)" != "false" ]; then
7   
8    message "You currently have the Tracker applet configured to index" \
9        "your home directory, probably because you logged into an earlier" \
10        "version of Debathena.  This is undesirable, because it can interact" \
11        "poorly with the AFS cache and render AFS unusable.  To fix this," \
12        "run the following command:  athrun consult fix-tracker"
13fi
Note: See TracBrowser for help on using the repository browser.