source: trunk/debathena/config/desktop-config/debian/10debathena-xdg-override @ 24432

Revision 24432, 343 bytes checked in by jhamrick, 15 years ago (diff)
In desktop-config: * Make sure debathena-desktop-config is installed before executing the xsession script (Trac: #348)
Line 
1#!/bin/sh
2if [ "$(dpkg-query -W -f '${Status}' debathena-desktop-config 2>/dev/null)" = "install ok installed" ]; then
3    if [ "$DEBATHENA_HOME_TYPE" = "afs" ]; then
4        if [ -n "$XDG_CONFIG_DIRS" ]; then
5            export XDG_CONFIG_DIRS=/etc/xdg.debathena:$XDG_CONFIG_DIRS
6        else
7            export XDG_CONFIG_DIRS=/etc/xdg.debathena:/etc/xdg
8        fi
9    fi
10fi
Note: See TracBrowser for help on using the repository browser.