Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
84c5a769
Commit
84c5a769
authored
7 years ago
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove .git and test directories
parent
e89e065a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
packages/nvm.rb
packages/nvm.rb
+6
-7
No files found.
packages/nvm.rb
View file @
84c5a769
...
...
@@ -9,17 +9,16 @@ class Nvm < Package
def
self
.
install
system
"NVM_DIR=/usr/local/share/nvm && bash install.sh"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/share/nvm"
system
"rm -rf /usr/local/share/nvm/.git*"
system
"rm -rf /usr/local/share/nvm/test"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/share"
system
"cp -r /usr/local/share/nvm
#{
CREW_DEST_DIR
}
/usr/local/share"
puts
""
puts
"To complete the installation, execute:"
.
lightblue
puts
"source ~/.bashrc"
.
lightblue
puts
""
puts
"To uninstall, do NOT simply run `crew remove nvm`!"
.
lightblue
puts
""
puts
"Execute the following instead:"
.
lightblue
puts
"rm -rf /usr/local/share/nvm"
.
lightblue
puts
""
puts
"You will also need to remove any lines with NVM_DIR in ~/.bashrc."
.
lightblue
puts
"To uninstall, in addition to 'crew remove nvm' you will"
.
lightblue
puts
"also need to delete any lines with NVM_DIR in ~/.bashrc."
.
lightblue
puts
""
end
end
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment