Bug#348509: add support for local archives
It would be nice to have support for local archives in apt-setup. Here's a
simple patch for that. Currently it supports only one repository because
it doesn't (well, I don't) know how to parse the string into multiple
entries. Maybe something like a ';' could be the delimiter?
echo >> $file
if [ -n $local ]; then
cat >> $file <<EOF
## The local repository
--- debian/apt-mirror-setup.templates.orig 2006-01-17
+++ debian/apt-mirror-setup.templates 2006-01-17 14:18:25.212208000
@@ -35,3 +35,8 @@
network, or with the mirror. You can choose to retry the download,
a different mirror, or ignore the problem and continue without all the
packages from this mirror.
+_Description: Local archive(s) to be added in sources.list