[arch-releng] [PATCH 35/35] worker_runtime_packages(): only if $var_RUNTIME_PACKAGES is set
Dieter Plaetinck
dieter at plaetinck.be
Tue Jan 17 11:10:59 EST 2012
On Wed, 04 Jan 2012 20:07:55 +0100
Charles <ce at vejnar.org> wrote:
> From: cev <ce at vejnar.org>
>
> ---
> src/core/procedures/base | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/src/core/procedures/base b/src/core/procedures/base
> index 03f2129..57523f0 100644
> --- a/src/core/procedures/base
> +++ b/src/core/procedures/base
> @@ -98,7 +98,10 @@ worker_runtime_repositories ()
>
> worker_runtime_packages ()
> {
> - $PACMAN -Sy --noconfirm --needed $var_RUNTIME_PACKAGES
> + if [ -n "$var_RUNTIME_PACKAGES" ]
> + then
> + $PACMAN -Sy --noconfirm --needed
> $var_RUNTIME_PACKAGES
> + fi
> }
>
>
applied, thanks!
More information about the arch-releng
mailing list