[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. d252d7a1986ddc1c766c24058fd311c37b9b2e97

Luca Capello luca at pca.it
Mon May 11 22:12:46 UTC 2009


The following commit has been merged in the master branch:
commit d252d7a1986ddc1c766c24058fd311c37b9b2e97
Author: Luca Capello <luca at pca.it>
Date:   Tue May 12 00:09:42 2009 +0200

    install.sh: populate /etc/apt/sources.list instead
    
    cdebootstrap creates a minimal /etc/apt/sources.list using the
    source specified in $INST_MIRROR, thus the correct step is to
    fill it with the new sources instead of completely replace it.

diff --git a/install.sh b/install.sh
index 1fa9609..239d769 100755
--- a/install.sh
+++ b/install.sh
@@ -783,9 +783,8 @@ action_apt () {
 
 	ensure_proc_is_mounted
 
-	echo " * Creating /etc/apt/sources.list"
-	cat > "$INST_DIR/etc/apt/sources.list" <<__END__
-deb $INST_MIRROR unstable main
+	echo " * Populating /etc/apt/sources.list"
+	cat >> "$INST_DIR/etc/apt/sources.list" <<__END__
 deb $INST_MIRROR experimental main
 deb $FSO_MIRROR unstable main
 __END__

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list