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

patch for sources.list.udeb generation



Hi,

I separate "deb" and download locations with a TAB.
The attached patch against latest CVS from debian-installer allows that.

Ciao, Bastian

PS: I am not subscribed to the list
-- 
  ,''`.    Bastian Kleineidam  .  calvin (at) debian.org
 : :' :
 `. `'    GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
   `-

Oh no! Not the magnet!
  - Bender

--- Makefile.orig	2004-02-03 15:34:40.000000000 +0100
+++ Makefile	2004-02-03 15:35:39.000000000 +0100
@@ -123,7 +123,7 @@
 	if [ "$(MIRROR)x" != "x" ]; then \
 		echo "deb $(MIRROR) $(SUITE) main/debian-installer"; \
 	else \
-	cat $(SYSTEM_SOURCES_LIST) | grep ^deb\  | grep -v debian-non-US | grep -v non-us.debian.org | grep ' main' | grep -v 'security.debian.org' | \
+	cat $(SYSTEM_SOURCES_LIST) | egrep '^deb[[:space:]]' | grep -v debian-non-US | grep -v non-us.debian.org | egrep '[[:space:]]main' | grep -v 'security.debian.org' | \
 		awk '{print $$1 " " $$2}' | sed "s,/* *$$, $(SUITE) main/debian-installer," | sed "s,^deb file,deb copy," | uniq; \
 	fi; \
 	) > sources.list.udeb

Attachment: signature.asc
Description: Digital signature


Reply to: