diff options
Diffstat (limited to 'templates/index.html.erb')
-rw-r--r-- | templates/index.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/index.html.erb b/templates/index.html.erb index ed077e9..ddc42bc 100644 --- a/templates/index.html.erb +++ b/templates/index.html.erb @@ -5,7 +5,7 @@ <body> <h1>Introduction</h1> -<p>This is the Debian package repository of <%= reprepro_origin %>. It is used for internal +<p>This is the Debian package repository of <%= @origin %>. It is used for internal distribution of locally built packages not yet part of Debian. Feel free to use it for yourself, but it comes at no warranty. @@ -14,8 +14,8 @@ it for yourself, but it comes at no warranty. <p>In your /etc/apt/sources.list: <pre> -deb http://debian.<%= domain %>/debian squeeze main -deb-src http://debian.<%= domain %>/debian squeeze main +deb http://debian.<%= scope.lookupvar('::domain') %>/debian squeeze main +deb-src http://debian.<%= scope.lookupvar('::domain') %>/debian squeeze main </pre> "squeeze", of course, can be replaced by your distribution. @@ -30,7 +30,7 @@ more precise).</p> <p>The key of the archive is in the <a href="/key.asc">key.asc file</a>. You should add the key using something like this:</p> <pre> -wget http://debian.<%= domain %>/debian/key.asc +wget http://debian.<%= scope.lookupvar('::domain') %>/debian/key.asc apt-key add key.asc apt-get update </pre> |