X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e3f96c1f0ab3d3f6d76ee8310d372a513463193e..a56f94b9b994baa0d381b1908594cf9eca8066ef:/cookbooks/apt/templates/default/hp.list.erb diff --git a/cookbooks/apt/templates/default/hp.list.erb b/cookbooks/apt/templates/default/hp.list.erb index 1a5d6850b..f76d66efb 100644 --- a/cookbooks/apt/templates/default/hp.list.erb +++ b/cookbooks/apt/templates/default/hp.list.erb @@ -1,3 +1,7 @@ # DO NOT EDIT - This file is being maintained by Chef -deb <%= @url %> precise/current non-free +<% if node[:lsb][:release].to_f >= 16.04 -%> +deb <%= @url %> xenial/current non-free +<% else -%> +deb <%= @url %> trusty/current non-free +<% end -%>