#
# Apply the Sabayon profile for the current user (if any)
#

if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then
      
      if [ -f "/etc/sabayon/deleteHome.$USERNAME.flag" ] ; then
          rm -rf $HOME/*
      fi

      if [ -x /usr/sbin/sabayon-apply ] ; then
           /usr/sbin/sabayon-apply
      fi
fi
