]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/python/recipes/default.rb
Enable thumbnail caching for images from wikimedia commons
[chef.git] / cookbooks / python / recipes / default.rb
index 53dc4c59ab29de609ab792bffd52891667c59599..00f763bac9a0b7a5c084ac3f98e15900f4e0b908 100644 (file)
 # limitations under the License.
 #
 
-package "python"
-package "python-pip"
+if node[:lsb][:release].to_f < 20.04
+  package "python"
+  package "python-pip"
+end
 
 package "python3"
 package "python3-pip"
 
-package "python-virtualenv"
+package "virtualenv"