/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.320 Revision 1.321
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.320 2009/09/24 02:49:32 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.321 2009/10/18 07:52:23 grobian Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
646 fi 646 fi
647 ;; 647 ;;
648 648
649 *) 649 *)
650 if [[ -z $@ ]] ; then 650 if [[ -z $@ ]] ; then
651 useradd ${opts} ${euser} \ 651 useradd ${opts} \
652 -c "added by portage for ${PN}" \ 652 -c "added by portage for ${PN}" \
653 ${euser} \
653 || die "enewuser failed" 654 || die "enewuser failed"
654 else 655 else
655 einfo " - Extra: $@" 656 einfo " - Extra: $@"
656 useradd ${opts} ${euser} "$@" \ 657 useradd ${opts} "$@" \
658 ${euser} \
657 || die "enewuser failed" 659 || die "enewuser failed"
658 fi 660 fi
659 ;; 661 ;;
660 esac 662 esac
661 663

Legend:
Removed from v.1.320  
changed lines
  Added in v.1.321

  ViewVC Help
Powered by ViewVC 1.1.20