This commit is contained in:
Shelvacu
2024-12-08 13:14:42 -08:00
committed by Shelvacu on fw
parent 8d9b99499c
commit 164c402ca0
7 changed files with 20 additions and 16 deletions

View File

@@ -24,13 +24,13 @@ writers.writeBashBin "update-git-keys" ''
else
url_keys="$url_base/user/keys"
fi
if [ $domain = "git.uninsane.org" ] || [ $domain = "sr.ht" ]; then
authorization_name="token"
else
authorization_name="Bearer"
fi
curl_common=( \
${lib.getExe curl} \
--fail \