Skip to content

Commit 15c17fc

Browse files
authored
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.
1 parent 4ddff1f commit 15c17fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auto-cpufreq-installer

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function setup_venv {
5959

6060
# tool install
6161
function install {
62+
git config --global --add safe.directory $(pwd)
6263
python -m pip install .
6364
mkdir -p /usr/local/share/auto-cpufreq/
6465
cp -r scripts/ /usr/local/share/auto-cpufreq/

0 commit comments

Comments
 (0)