> ** IMPORTANT ** Do not update your apt cache during the 2am CDT to 4am CDT
> window. I'll shut off the directory bits at 2am CDT to try to prevent accidental
> access, but if your inside already you -WILL- download a partially generated
> source listing and it will mess up apt.  You have been warned!
> 
> ** WARNING DID YOU READ THE ABOVE **

Why not have the script generate into a temporary file/directory, and 
then just mv the files over when its done?