Skip to content

Commit 86bf200

Browse files
committed
remove pkgin dep
1 parent 297fa0a commit 86bf200

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

metadata.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
license "Apache 2.0"
44
description "Installs/Configures nodejs"
55
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
6-
version "1.1.4"
6+
version "1.1.5"
77
name "nodejs"
88
provides "nodejs"
99

@@ -14,7 +14,6 @@
1414
recipe "nodejs::npm", "Installs npm from source - a package manager for node"
1515

1616
depends "build-essential"
17-
depends "pkgin"
1817

1918
%w{ smartos }.each do |os|
2019
supports os

recipes/install_from_package.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
# limitations under the License.
2121
#
2222

23-
pkgin_package "nodejs" do
24-
action :install
23+
# package "nodejs" do
24+
# action :install
25+
# end
26+
27+
bash "install_nodejs_from_package" do
28+
command "sudo pkgin install -y nodejs"
29+
user "root"
2530
end

0 commit comments

Comments
 (0)