diff options
author | mh <mh@immerda.ch> | 2012-06-08 12:16:46 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-08 12:16:46 -0300 |
commit | ac166366d7baa45b74e09974289d9fb2dad38e67 (patch) | |
tree | 70cc957e8bafd162eb6d378efbc647e3b837a42d /templates/Debian/preferences_squeeze.erb | |
parent | 39917fb4dbe21b1673ceabaa1d61180cca9f493b (diff) |
refactor things for >2.7
Diffstat (limited to 'templates/Debian/preferences_squeeze.erb')
-rw-r--r-- | templates/Debian/preferences_squeeze.erb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/Debian/preferences_squeeze.erb b/templates/Debian/preferences_squeeze.erb index fa0849a..e74515e 100644 --- a/templates/Debian/preferences_squeeze.erb +++ b/templates/Debian/preferences_squeeze.erb @@ -1,16 +1,16 @@ -Explanation: Debian <%= codename %> +Explanation: Debian <%= scope.lookupvar('::lsbdistcodename') %> Package: * -Pin: release o=Debian,n=<%= codename %> +Pin: release o=Debian,n=<%= scope.lookupvar('::lsbdistcodename') %> Pin-Priority: 990 -Explanation: Debian <%= codename %>-updates +Explanation: Debian <%= scope.lookupvar('::lsbdistcodename') %>-updates Package: * -Pin: release o=Debian,n=<%= codename %>-updates +Pin: release o=Debian,n=<%= scope.lookupvar('::lsbdistcodename') %>-updates Pin-Priority: 990 -Explanation: Debian <%= next_codename %> +Explanation: Debian <%= scope.lookupvar('apt::next_codename') %> Package: * -Pin: release o=Debian,n=<%= next_codename %> +Pin: release o=Debian,n=<%= scope.lookupvar('apt::next_codename') %> Pin-Priority: 2 Explanation: Debian sid |