ITADN

Check both /sbin paths for sysctl

#5Pull Requestacjones8 创建于 2023-06-22已合并
A
acjones8commented
After realizing I needed to downgrade procps to version 3, I also realized that indeed the original path was correct for base gentoo, which installs sysctl to /usr/sbin instead of /sbin. pg_overlay's version uses /sbin, whether due to avoiding conflict or because they prefer that location. I wrote an updated patch that tries the path for Gentoo's official procps version, and if it fails, tries to run sysctl from /sbin instead. This should support users of both repos, and allow one to switch back and forth without any issues. I'm very sorry about not catching this earlier, it didn't occur to me that the overlay uses a different location that the original, and that's what was causing the path error.
合并状态:已合并 合并于 2023-06-24 关闭于 2023-06-24 0 条评论