summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-02-07 11:40:00 +0100
committerintrigeri <intrigeri@boum.org>2011-02-07 11:41:49 +0100
commit045e1fc748c83b55ce03c5cb2aa0a8ae29904975 (patch)
tree8b6aca413082c79794d288e49e831ef956264836
parentf11e821f0ad7e52be19163b62f18930c90fffed5 (diff)
Stop hard-coding Wheezy name in Squeeze's pinning template.
Every needed function has been updated since Squeeze was released and we can thus use a nice generic template.
-rw-r--r--templates/Debian/preferences_squeeze.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/Debian/preferences_squeeze.erb b/templates/Debian/preferences_squeeze.erb
index f21562d..3de7959 100644
--- a/templates/Debian/preferences_squeeze.erb
+++ b/templates/Debian/preferences_squeeze.erb
@@ -8,9 +8,9 @@ Package: *
Pin: origin backports.debian.org
Pin-Priority: 200
-Explanation: Debian wheezy
+Explanation: Debian <%= next_codename %>
Package: *
-Pin: release o=Debian,n=wheezy
+Pin: release o=Debian,n=<%= next_codename %>
Pin-Priority: 2
Explanation: Debian sid