Steve McIntyre <[EMAIL PROTECTED]> writes:

> On Tue, Feb 06, 2007 at 08:45:15AM -0200, Otavio Salvador wrote:
>>From: Otavio Salvador <[EMAIL PROTECTED]>
>>
>>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: [EMAIL PROTECTED]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to