# -*- shell-script -*-
# /etc/X11/Xsession.d/95unburden-home-dir
# This file is sourced by Xsession(5), not executed.

if [ -z "$UNBURDEN_HOME_DIR_COMMON_SOURCED" ]; then
    if [ -e share/common.sh ]; then
        . share/common.sh
    elif [ -e /usr/share/unburden-home-dir/common.sh ]; then
        . /usr/share/unburden-home-dir/common.sh
    fi
fi

if unburden_it; then
    unburden-home-dir
fi
