]> git.openstreetmap.org Git - chef.git/commitdiff
Use fonts-droid-fallback on Ubuntu 16.04
authorTom Hughes <tom@compton.nu>
Tue, 23 Aug 2016 06:16:54 +0000 (07:16 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 23 Aug 2016 06:16:54 +0000 (07:16 +0100)
cookbooks/tile/recipes/default.rb

index 8e5b4ecf47aea8e9f02e62fab2bda47b4de8f798..8d8d2f03beb7b751bee48dd602e42ff7c17b2273 100644 (file)
@@ -103,8 +103,14 @@ package "python-cairo"
 package "python-mapnik"
 
 package "ttf-dejavu"
-package "fonts-droid"
 package "ttf-unifont"
+
+if node[:lsb][:release].to_f >= 16.04
+  package "fonts-droid-fallback"
+else
+  package "fonts-droid"
+end
+
 package "fonts-sipa-arundina"
 package "fonts-sil-padauk"
 package "fonts-khmeros"