Skip to content

Commit

Permalink
fix dubious ownership error in auto-cpufreq-installer (AdnanHodzic#597)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
amogus07 authored and shadeyg56 committed Feb 12, 2024
1 parent 26806a6 commit bc8bc83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auto-cpufreq-installer
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit bc8bc83

Please sign in to comment.