From 66a1f5f07ce832523c7527e7fe2119611aba6d09 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 2 Apr 2010 17:48:03 +0200 Subject: Making handling of cache/packages_bootstrap a bit more error proove, thanks to Michal Suchanek for bringing it up. --- helpers/binary_debian-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/binary_debian-installer') diff --git a/helpers/binary_debian-installer b/helpers/binary_debian-installer index 5c224ae56..1cf79cd8d 100755 --- a/helpers/binary_debian-installer +++ b/helpers/binary_debian-installer @@ -415,14 +415,14 @@ then if [ "${LH_DEBIAN_INSTALLER}" != "live" ] then # Including base debian packages - if [ -d cache/packages_bootstrap ] + if ls cache/packages_bootstrap/*.deb > /dev/null 2>&1 then for FILE in cache/packages_bootstrap/*.deb do Install_file "${FILE}" "binary/pool/main" done else - Echo_error "Could not find cache/packages_bootstrap." + Echo_error "Could not find packages in cache/packages_bootstrap." Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being cached - these are required when integrating the Debian Installer." exit 1 fi -- cgit v1.2.3