From: Takashi Iwai Subject: Re: Git branches with Gentoo fixes Date: Thu, 13 Nov 2008 09:37:45 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 2E6932443F for ; Thu, 13 Nov 2008 09:37:46 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Diego 'Flameeyes' =?ISO-8859-1?Q?Petten=F2?= Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 13 Nov 2008 01:14:51 +0100, Diego 'Flameeyes' Petten=F2 wrote: > = > Hi all, > = > Since I have just had to fix (again) an --as-needed issues on alsa-tools > on the Gentoo ebuild, I've decided to clone the git repo and see to try > pushing (again, I'm sure I tried before) the Gentoo-specific patches. > = > You can find two git branches for alsa-tools and alsa-utils at these > addresses: > = > git://git.flameeyes.eu/others/alsa/alsa-tools.git > git://git.flameeyes.eu/others/alsa/alsa-utils.git > = > For the patches coming from users, the proper Author setting was done so > that they are reported coming from the correct contributor. In commit de0aea763c5113f2373fc1cf6034b018d255bd94, > diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in > index 806ddb6..56f2a4b 100644 > --- a/alsaconf/alsaconf.in > +++ b/alsaconf/alsaconf.in > @@ -908,13 +908,8 @@ BEGIN { in_sound=3D0; } > = > farewell > clear > - if [ "$distribution" =3D "gentoo" ]; then > - xecho "Running modules-update..." > - modules-update > - elif [ "$distribution" =3D "debian" ]; then > - xecho "Running update-modules..." > - update-modules > - fi > + xecho "Running update-modules..." > + update-modules > if [ -x $rcalsasound ] ; then You unconditionally call update-modules, but this doesn't exist in all distros, but this is wrong. The world isn't ruled by only debian and gentoo :) Check the availability before calling it. Other changes in alsa-utils look OK. thanks, Takashi