-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Separate the package management part from core.py
, use an independent installer and the correct location (/usr/local/bin
)
#449
Comments
Since I'm very limited with available time to do this myself, if you or anyone else wants to give it a try in implementing this functionality, please give it a try and contribute to the project and you will be credited for your work as part of future release. |
/usr/bin
(cpufreqctl.auto-cpufreq
)/usr/bin
(cpufreqctl.auto-cpufreq
)
After some investigation, I think the biggest problem is that a part of the installing/removing logic is in |
/usr/bin
(cpufreqctl.auto-cpufreq
)core.py
, use an independent installer and the correct location (/usr/local/bin
)
Agreed, this was my idea with
@YHNdnzj sure sounds good, please give it a try :) |
Auto-cpufreq now uses /usr/local/bin with my PR. |
Good point, I'll make sure to include this issue besides #460 for v1.9.7 release notes |
According to file-hierarchy(7),
/usr
(except for/usr/local
) should contain Vendor-supplied operating system resources i.e. shall be managed by the package manager and the package manager only. Runtime-generated files likecpufreqctl.auto-cpufreq
should be installed to/usr/local/bin
.https://github.com/AdnanHodzic/auto-cpufreq/blob/master/auto_cpufreq/core.py#L309
The text was updated successfully, but these errors were encountered: