[Pkg-uml-commit] r159 - trunk/src/rootstrap/modules

Mattia Dongili malattia at costa.debian.org
Thu Aug 24 19:09:05 UTC 2006


Author: malattia
Date: 2006-08-24 19:09:05 +0000 (Thu, 24 Aug 2006)
New Revision: 159

Modified:
   trunk/src/rootstrap/modules/debian
Log:
overwrite sources.list contents if the option is provided as it was messy the idea of providing something complementary to the default entry added by debootstrap

Modified: trunk/src/rootstrap/modules/debian
===================================================================
--- trunk/src/rootstrap/modules/debian	2006-08-24 19:05:22 UTC (rev 158)
+++ trunk/src/rootstrap/modules/debian	2006-08-24 19:09:05 UTC (rev 159)
@@ -38,7 +38,7 @@
 
 # populate sources.list
 if test -n "$sources"; then
-	echo "$sources" >> $TARGET/etc/apt/sources.list
+	echo "$sources" > $TARGET/etc/apt/sources.list
 else
 	echo "deb $mirror $dist main" > $TARGET/etc/apt/sources.list
 fi




More information about the Pkg-uml-commit mailing list