mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-04-08 17:05:56 +02:00
fix dubious ownership error in auto-cpufreq-installer (#597)
When trying to install auto-cpufreq in Fedora 39, I got the following error: "Detected Git repository, but failed because of dubious ownership" Adding the line at the top of the install function according to https://sam.hooke.me/note/2023/08/poetry-fixing-dubious-ownership-error/ solved the error for me.
This commit is contained in:
parent
4ddff1f702
commit
15c17fc52c
@ -59,6 +59,7 @@ function setup_venv {
|
||||
|
||||
# tool install
|
||||
function install {
|
||||
git config --global --add safe.directory $(pwd)
|
||||
python -m pip install .
|
||||
mkdir -p /usr/local/share/auto-cpufreq/
|
||||
cp -r scripts/ /usr/local/share/auto-cpufreq/
|
||||
|
Loading…
x
Reference in New Issue
Block a user