diff options
| author | remiprev | 2010-01-04 15:51:57 -0500 |
|---|---|---|
| committer | Max Howell | 2010-01-13 14:17:24 +0000 |
| commit | 3d01c3f0dd7857152c2e6b5c790969021c17f09a (patch) | |
| tree | e6d785530e403c96d86c4e9032a87a523828ae16 /Library | |
| parent | eb46923c8a087cb333c3eb14fd4054d2d1b6d590 (diff) | |
| download | homebrew-3d01c3f0dd7857152c2e6b5c790969021c17f09a.tar.bz2 | |
Updated formula: htop
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/htop.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/htop.rb b/Library/Formula/htop.rb index 54e8fcd74..d8dfab61d 100644 --- a/Library/Formula/htop.rb +++ b/Library/Formula/htop.rb @@ -9,4 +9,16 @@ class Htop <Formula system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make", "install", "DEFAULT_INCLUDES='-iquote .'" end + + def caveats; <<-EOS +In order for htop to display correctly all the running processes, it needs to be ran as root. + +However, if you do not want to type `sudo htop` every time, you can change the owner and permissions for the executable binary: + +$ cd #{prefix}/bin/ +$ chmod 6555 htop +$ sudo chown root htop + EOS + end + end |
