Export the ref so we can refer to it during install

This commit is contained in:
David Heinemeier Hansson
2026-01-07 19:31:42 +01:00
parent 2063680c82
commit bc198c7270

View File

@@ -27,7 +27,7 @@ rm -rf ~/.local/share/omarchy/
git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/null git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/null
# Use custom branch if instructed, otherwise default to master # Use custom branch if instructed, otherwise default to master
OMARCHY_REF="${OMARCHY_REF:-master}" export OMARCHY_REF="${OMARCHY_REF:-master}"
if [[ $OMARCHY_REF != "master" ]]; then if [[ $OMARCHY_REF != "master" ]]; then
echo -e "\e[32mUsing branch: $OMARCHY_REF\e[0m" echo -e "\e[32mUsing branch: $OMARCHY_REF\e[0m"
cd ~/.local/share/omarchy cd ~/.local/share/omarchy