From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dtx0P-0005Da-17 for garchives@archives.gentoo.org; Sun, 17 Jul 2005 00:27:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6H0OSrK008449; Sun, 17 Jul 2005 00:24:28 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6H0KYCD008049 for ; Sun, 17 Jul 2005 00:20:34 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1Dtwu2-0008Jj-At for gentoo-dev@lists.gentoo.org; Sun, 17 Jul 2005 00:21:06 +0000 Received: (qmail 4964 invoked from network); 16 Jul 2005 20:20:26 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 16 Jul 2005 20:20:26 -0400 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] /etc/profile.d/ Date: Sat, 16 Jul 2005 20:22:29 -0400 User-Agent: KMail/1.8.1 References: <9f90e8bf05071514597043b7bb@mail.gmail.com> <200507152134.09075.vapier@gentoo.org> <20050716190304.12bb0ddc@sven.genone.homeip.net> In-Reply-To: <20050716190304.12bb0ddc@sven.genone.homeip.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507162022.29823.vapier@gentoo.org> X-Archives-Salt: 4c3da96c-78cc-4863-892c-bd6ea816038d X-Archives-Hash: 7ecd61bb913405c17bc966eaadc3af76 On Saturday 16 July 2005 01:03 pm, Marius Mauch wrote: > On Fri, 15 Jul 2005 21:34:09 -0400 > > Mike Frysinger wrote: > > we could care less what users do with /etc/profile.d ... the point is > > that *only* users should use /etc/profile.d ... we dont want random > > Gentoo developer Foo installing some Bar.sh into /etc/profile.d with > > package app-crap/FooBar > > Would the following in /et/profile be a solution to this problem? > > for x in $( < /etc/profile.d/.default); do > source "/etc/profile.d/${x}" > done > > That way devs could install stuff there, but it would only be run if > users added it to the .default file. that kind of limits the intuitiveness of profile.d ... plus, not like they couldnt just do 'echo blah >> /etc/profile.d/.default' at the end of pkg_postinst or something -mike -- gentoo-dev@gentoo.org mailing list