Commit cff72ec9 authored by Damian Montero's avatar Damian Montero

Fixing the 'permissions' line at the end of node package

parent fc1a228a
...@@ -23,6 +23,8 @@ class Node_current < Package ...@@ -23,6 +23,8 @@ class Node_current < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages #Fix Permissiongs for -g installs of node packages
system "sudo chown -R chronos /usr/local/{lib/node_modules,bin,share}" system "sudo chown -R chronos /usr/local/lib/node_modules"
system "sudo chown -R chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment