Commit cd58a94d authored by Ed Reel's avatar Ed Reel

Remove sudo from pip commands

parent d430afb1
...@@ -16,7 +16,7 @@ class Mercurial < Package ...@@ -16,7 +16,7 @@ class Mercurial < Package
abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12' abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12'
if !%x[pip list | grep docutils].include? "docutils" if !%x[pip list | grep docutils].include? "docutils"
puts "Installing docutils dependency..." puts "Installing docutils dependency..."
system "sudo", "pip", "install", "docutils" system "pip", "install", "docutils"
end end
system "make", "PREFIX=/usr/local", "all" system "make", "PREFIX=/usr/local", "all"
end end
...@@ -26,7 +26,7 @@ class Mercurial < Package ...@@ -26,7 +26,7 @@ class Mercurial < Package
puts "------------------" puts "------------------"
puts "Installation success!" puts "Installation success!"
puts "Cleaning up dependencies only required for build..." puts "Cleaning up dependencies only required for build..."
system "sudo", "pip", "uninstall", "docutils" system "pip", "uninstall", "docutils"
puts puts
puts "To begin using mercurial you'll need to configure it." puts "To begin using mercurial you'll need to configure it."
puts puts
......
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