mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Ensure master is used instead of dev as a default
This commit is contained in:
10
boot.sh
10
boot.sh
@@ -28,12 +28,10 @@ git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/
|
|||||||
|
|
||||||
# Use custom branch if instructed, otherwise default to master
|
# Use custom branch if instructed, otherwise default to master
|
||||||
OMARCHY_REF="${OMARCHY_REF:-master}"
|
OMARCHY_REF="${OMARCHY_REF:-master}"
|
||||||
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
|
git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}"
|
||||||
git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}"
|
cd -
|
||||||
cd -
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set edge mirror for dev installs
|
# Set edge mirror for dev installs
|
||||||
if [[ $OMARCHY_REF == "dev" ]]; then
|
if [[ $OMARCHY_REF == "dev" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user