Remove safe config section after any action

This commit is contained in:
Manuel Thalmann 2024-11-01 15:45:56 +01:00
parent ffac158dea
commit 7e0fdb1ff7
2 changed files with 1 additions and 1 deletions

View file

@ -40,7 +40,6 @@ function installAction -V dir
end end
and runHook postInstall || true and runHook postInstall || true
and sudo git config remove-section --system safe || true
and begin and begin
echo "Cleaning installation scripts..." echo "Cleaning installation scripts..."

View file

@ -24,6 +24,7 @@ function runAction -V dir
and runHook preAction || true and runHook preAction || true
$argv $argv
and runHook postAction || true and runHook postAction || true
sudo git config remove-section --system safe || true
end end
function runSetupUserAction -V dir function runSetupUserAction -V dir