[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 3/6] Allow usage of a broken mirror



Steve McIntyre <steve@einval.com> writes:

> On Tue, Feb 06, 2007 at 08:45:15AM -0200, Otavio Salvador wrote:
>>From: Otavio Salvador <otavio@ossystems.com.br>
>>
>>Sometimes is useful to use a mirror without the docs and tools
>>directory. This patch allow it if we export the ALLOWBROKENMIRROR
>>variable on CONF.sh
>>diff --git a/tools/make_image b/tools/make_image
>>index c191a80..050f0a8 100755
>>--- a/tools/make_image
>>+++ b/tools/make_image
>>@@ -53,8 +53,11 @@ do
>> 	dir=$DIR/CD$n
>> 
>>     cd $dir
>>-    # Anything last-minute that can only be done now?
>>-    last_minute_update
>>+
>>+	if [ "$ALLOWBROKENMIRROR"x = ""x -o "$ALLOWBROKENMIRROR"x = "0"x ]; then
>>+		# Anything last-minute that can only be done now?
>>+		last_minute_update
>>+	fi
>> 
>> 	cd $dir/..
>
> No! Leaving out the last_minute_update call will cause you to fail to
> update the README.html and README.txt files, for no good reason that I
> can see.

If you want to use a broken mirror it makes sense. Broken means
without any extra thing but packages and their metadata.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



Reply to: