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

[PATCH 2/6] Remove useless mirror check



From: Otavio Salvador <otavio@ossystems.com.br>

tools/start_new_disc doesn't need to check the mirror for consistency
since it has already been done by the Makefile. Removed this code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 tools/start_new_disc |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/tools/start_new_disc b/tools/start_new_disc
index d09dffb..c5b9396 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -109,12 +109,6 @@ if [ $SOURCEDISK = 1 ] ; then
 fi
 
 if [ $DISKNUM = 1 ] ; then
-	if [ ! -e $MIRROR/tools ] || [ ! -e $MIRROR/doc ] ; then
-		echo "You need a Debian mirror with the doc, tools and"
-        echo "indices directories ! "
-        exit 1
-	fi
-		
 	# Add install stuff
 	if [ "$SOURCEONLY"x != "yes"x ] ; then
 		echo "  Adding tools to CD1"



Reply to: