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 8e5b4ec..8d8d2f0 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"