~aw/sabayon-template/trunk

1 by Sebastien Bacher
Import upstream version 2.11.90
1
#
2
# Apply the Sabayon profile for the current user (if any)
3
#
4
5
if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then
1.1.11 by Sebastien Bacher
Import upstream version 2.22.1
6
  # ensure we do no work if there are no profiles to apply
1.1.16 by Scott Balneaves
Import upstream version 2.29.5~rc1
7
  if [ -f @SCONFDIR@/sabayon/users.xml ] || [ -f @SYSCONFDIR@/sabayon/groups.xml ]; then
1.1.11 by Sebastien Bacher
Import upstream version 2.22.1
8
    if [ -x @SBINDIR@/sabayon-apply ] ; then
9
      @SBINDIR@/sabayon-apply
10
    fi
1 by Sebastien Bacher
Import upstream version 2.11.90
11
  fi
12
fi