FS#46456 - [htop] corretly set system configuration directory
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Monday, 28 September 2015, 11:46 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 February 2016, 20:11 GMT
Opened by Christian Hesse (eworm) - Monday, 28 September 2015, 11:46 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 February 2016, 20:11 GMT
|
Details
Description:
htop can read default configuration from htoprc in system configuration file. By default this is set to ${prefix}/etc/ -- /usr/etc in our case. This should be /etc, so please add --sysconfdir=/etc to configure. Additional info: htop 1.0.3-3 |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 11 February 2016, 20:11 GMT
Reason for closing: Fixed
Additional comments about closing: htop 2.0.0
Thursday, 11 February 2016, 20:11 GMT
Reason for closing: Fixed
Additional comments about closing: htop 2.0.0
![Link to this comment](../themes/ArchLinux/comment.png)
Bringing this to the top... Now that htop 2.0.0 has been release -
can we get this change in?
![Link to this comment](../themes/ArchLinux/comment.png)
Bug confirmed for htop 2. When ~/.config/htop/htoprc is missing,
htop tries to read /usr/etc/htoprc.
![Link to this comment](../themes/ArchLinux/comment.png)
I have tested this fix and applied it to a working htop PKGBUILD
that builds updated 2.0.0 for convenience. credits to xyproto