projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51db68c
)
Use fonts-droid-fallback on Ubuntu 16.04
author
Tom Hughes
<tom@compton.nu>
Tue, 23 Aug 2016 06:16:54 +0000
(07:16 +0100)
committer
Tom Hughes
<tom@compton.nu>
Tue, 23 Aug 2016 06:16:54 +0000
(07:16 +0100)
cookbooks/tile/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/tile/recipes/default.rb
b/cookbooks/tile/recipes/default.rb
index 8e5b4ecf47aea8e9f02e62fab2bda47b4de8f798..8d8d2f03beb7b751bee48dd602e42ff7c17b2273 100644
(file)
--- a/
cookbooks/tile/recipes/default.rb
+++ b/
cookbooks/tile/recipes/default.rb
@@
-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"