From e2578c3b9820e9ff17f8a8881b8b22b5e241ee21 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Mon, 25 Oct 2010 11:55:15 -0400 Subject: Add $main_apt_source Currently, it's either we use the default source that's hardcoded in the sources.list template or we redefine entirely this template. Make it easier to just change the URL of the apt source while using the rest of the default template by adding a $main_apt_source variable. Signed-off-by: Gabriel Filion --- templates/Debian/sources.list.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/Debian') diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb index ab029ca..12d1027 100644 --- a/templates/Debian/sources.list.erb +++ b/templates/Debian/sources.list.erb @@ -2,7 +2,7 @@ # all local modifications will be overwritten # basic <%= lsbdistcodename %> -deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free +deb <%= real_main_apt_source %> <%= lsbdistcodename %> main contrib non-free # security suppport <% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> # There is no security mirror for <%= lsbdistcodename %> -- cgit v1.2.3