summaryrefslogtreecommitdiff
path: root/templates/distributions.erb
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2012-10-23 15:08:45 +0200
committerintrigeri <intrigeri@boum.org>2012-10-23 21:51:04 +0200
commit8bb6499572fd1c1a05c033f85bc36b556d9ba629 (patch)
treea8713f0b9aa56883f8645db222394aa549175954 /templates/distributions.erb
parent236ae8bf9adfc3ad34650d20a82f9720a7002b1b (diff)
Refer to variables using Ruby instance variables in templates
This is the recommended way, as it prevents clashes with Ruby function names.
Diffstat (limited to 'templates/distributions.erb')
-rw-r--r--templates/distributions.erb30
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/distributions.erb b/templates/distributions.erb
index 233f2b9..8ec9883 100644
--- a/templates/distributions.erb
+++ b/templates/distributions.erb
@@ -1,55 +1,55 @@
-Origin: <%= reprepro_origin %>
-Label: <%= reprepro_origin %>
+Origin: <%= @reprepro_origin %>
+Label: <%= @reprepro_origin %>
Suite: reallyoldstable
Codename: etch
Version: 3.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
-Description: <%= reprepro_origin %> specific (or backported) packages
+Description: <%= @reprepro_origin %> specific (or backported) packages
SignWith: yes
Uploaders: uploaders
-Origin: <%= reprepro_origin %>
-Label: <%= reprepro_origin %>
+Origin: <%= @reprepro_origin %>
+Label: <%= @reprepro_origin %>
Suite: oldstable
Pull: stable
Codename: lenny
Version: 5.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
-Description: <%= reprepro_origin %> specific (or backported) packages
+Description: <%= @reprepro_origin %> specific (or backported) packages
SignWith: yes
Uploaders: uploaders
-Origin: <%= reprepro_origin %>
-Label: <%= reprepro_origin %>
+Origin: <%= @reprepro_origin %>
+Label: <%= @reprepro_origin %>
Suite: stable
Pull: testing
Codename: squeeze
Version: 6.0
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
-Description: <%= reprepro_origin %> specific (or backported) packages
+Description: <%= @reprepro_origin %> specific (or backported) packages
SignWith: yes
Uploaders: uploaders
-Origin: <%= reprepro_origin %>
-Label: <%= reprepro_origin %>
+Origin: <%= @reprepro_origin %>
+Label: <%= @reprepro_origin %>
Suite: testing
Pull: unstable
Codename: wheezy
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
-Description: <%= reprepro_origin %> specific (or backported) packages
+Description: <%= @reprepro_origin %> specific (or backported) packages
SignWith: yes
Uploaders: uploaders
-Origin: <%= reprepro_origin %>
-Label: <%= reprepro_origin %>
+Origin: <%= @reprepro_origin %>
+Label: <%= @reprepro_origin %>
Suite: unstable
Codename: sid
Architectures: i386 amd64 source kfreebsd-amd64 kfreebsd-i386
Components: main non-free contrib
-Description: <%= reprepro_origin %> specific (or backported) packages
+Description: <%= @reprepro_origin %> specific (or backported) packages
SignWith: yes
Uploaders: uploaders-sid