[Mageia-dev] [soft-commits] [7213] Check-in debuginfo-install

Thierry Vignaud thierry.vignaud at gmail.com
Sat Jan 26 22:33:26 CET 2013


On 26 January 2013 17:22,  <root at mageia.org> wrote:
> Check-in debuginfo-install

I think we should check if Core Release Debug is enabled
(same for core testing/updates debug ones as well & non-free/tainted if enabled)
If those debug media are not enabled, then update them and use them temporary

also, I think there's another script already existing in packagekit

> Added: rpm/debuginfo-install/trunk/debuginfo-install
> ===================================================================
> --- rpm/debuginfo-install/trunk/debuginfo-install
> (rev 0)
> +++ rpm/debuginfo-install/trunk/debuginfo-install 2013-01-26 16:22:26 UTC
> (rev 7213)
> @@ -0,0 +1,14 @@
> +#!/usr/bin/sh
> +# Kamil Rytarowski 2012, <kamil AT mageia DOT org> | <n54 AT gmx DOT com>
> +# Any copyright is dedicated to the Public Domain.
> +# http://creativecommons.org/publicdomain/zero/1.0/
> +
> +urpmi_args=""
> +
> +while [ "$1" ]; do
> +  new_arg="`urpmq --sourcerpm $1|awk -F': ' '{print $2}'|sed
> 's/-[^-]*-[^-]*$/-debuginfo/'`"
> +  urpmi_args="$urpmi_args $new_arg"
> +  shift
> +done
> +
> +urpmi $urpmi_args
>
>
> Property changes on: rpm/debuginfo-install/trunk/debuginfo-install
> ___________________________________________________________________
> Added: svn:executable
>    + *
>


More information about the Mageia-dev mailing list