Ver código fonte

updated vbuilder.sh.in: fixed little

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@5510 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 12 anos atrás
pai
commit
ab695b3e39
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      vbuilder.sh.in

+ 2 - 3
vbuilder.sh.in

@@ -7,7 +7,7 @@ TEXTDOMAINDIR=/usr/share/locale
 Usage(){
     cat<<EOF
 $(basename $0) @@VBUILDER_VERSION@@ $(echo $([ -z "@@VBUILDER_REVISION@@" ] || echo "(r@@VBUILDER_REVISION@@)"))
-Usage:	$(basename $0) {--profile [profile]} {--version [version]} {--arch [arch]} {--category [categories]} {--fetch-url [fetch_url]} {--dist-upgrade} {--target [target]} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {--debug} {--help} {--bootstrap-dir [directory]} {--unionfs-dir [directory]} {--cache-dir [directory]} {--built-rpms-dir [directory]} {clean|build|build-rpm [src.rpm]|install-rpm [arch.rpm|package]|remove-rpm [package]}
+Usage:	$(basename $0) {--profile [profile]} {--version [version]} {--arch [arch]} {--category [categories]} {--fetch-url [fetch_url]} {--dist-upgrade} {--target [target]} {--no-build-essential} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {--debug} {--help} {--bootstrap-dir [directory]} {--unionfs-dir [directory]} {--cache-dir [directory]} {--built-rpms-dir [directory]} {clean|build|build-rpm [src.rpm]|install-rpm [arch.rpm|package]|remove-rpm [package]}
 EOF
 
     echo $"
@@ -685,9 +685,8 @@ Build(){
 	    cat >${BUILD_ROOT}/etc/apt/sources.list.d/local.list<<EOF
 ${LOCAL_REPOS}
 EOF
-	fi
-
 	$__chroot_sh "apt-get update"
+	fi
 
 	## additional base packages
 	[ ! -z "${ADD_BASE_PKGS}" ] && \