[arch-releng] [PATCH 35/35] worker_runtime_packages(): only if $var_RUNTIME_PACKAGES is set
From: cev <ce@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 } -- 1.7.8
On Wed, 04 Jan 2012 20:07:55 +0100 Charles <ce@vejnar.org> wrote:
From: cev <ce@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!
participants (2)
-
Charles
-
Dieter Plaetinck