Install nodejs legacy symlink on 14.04
authorTom Hughes <tom@compton.nu>
Wed, 29 Apr 2015 09:37:12 +0000 (10:37 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 Apr 2015 09:37:12 +0000 (10:37 +0100)
cookbooks/nodejs/recipes/default.rb

index a1f975a..2fa43d6 100644 (file)
@@ -21,3 +21,7 @@ package "nodejs"
 package "npm"
 package "g++"
 package "make"
+
+if node[:lsb][:release].to_f >= 14.04
+  package "nodejs-legacy"
+end