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

Malformed Release file [patch]



Here is a patch which, while not preventing the Malformed release file
error, at least cleans up the file so the next time the user runs, he
gets another chance.

Please check this syntax, I don't know if it's right! (Maybe it needs
quotes or something)

--- functions.orig	Sat Dec 15 21:20:23 2001
+++ functions	Sat Dec 15 21:20:31 2001
@@ -279,8 +279,9 @@
     esac	
   done
   
-  if [ "$COMPONENTS" = "" ]; then
-    error 1 "Malformed release file $m1/dists/$SUITE/Release"
+  if [ "$COMPONENTS" = "" ]; then 
+    rm -f $m1/dists/$SUITE/Release
+    error 1 "Malformed release file $m1/dists/$SUITE/Release (was deleted, try again)"
   fi
   progress 100 100 "Downloading Release file"
 

-- 
*------v--------- Installing Debian GNU/Linux 3.0 --------v------*
|      <http://www.debian.org/releases/woody/installmanual>      |
|   debian-imac (potato): <http://debian-imac.sourceforge.net>   |
|            Chris Tillman        tillman@azstarnet.com          |
|                   May the Source be with you                   |
*----------------------------------------------------------------*



Reply to: