[arch-releng] [PATCH 35/35] worker_runtime_packages(): only if $var_RUNTIME_PACKAGES is set

Charles ce at vejnar.org
Wed Jan 4 14:07:55 EST 2012


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
 }
 
 
-- 
1.7.8



More information about the arch-releng mailing list