Move non-Nix bash scripts

This commit is contained in:
Oliver Davies 2025-03-29 23:34:25 +00:00
parent 7c9ffc116e
commit f2eea2d397
21 changed files with 11 additions and 10 deletions

View file

@ -0,0 +1,10 @@
#!/bin/zsh
# Check if we should use the `main` or `master` branch for this repo.
# Prefer `main` to `master`.
if git show-ref --quiet origin/main || git rev-parse main &>/dev/null; then
echo main
else
echo master
fi