~aw/sabayon-template/trunk

1
2
3
4
5
6
7
8
9
10
11
12
#
# Apply the Sabayon profile for the current user (if any)
#

if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then
  # ensure we do no work if there are no profiles to apply
  if [ -f @SCONFDIR@/sabayon/users.xml ] || [ -f @SYSCONFDIR@/sabayon/groups.xml ]; then
    if [ -x @SBINDIR@/sabayon-apply ] ; then
      @SBINDIR@/sabayon-apply
    fi
  fi
fi