mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Ensure mirror and pkgs channels are always kept in sync as stable or edge
This commit is contained in:
9
boot.sh
9
boot.sh
@@ -27,7 +27,7 @@ rm -rf ~/.local/share/omarchy/
|
||||
git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/null
|
||||
|
||||
# Use custom branch if instructed, otherwise default to master
|
||||
export OMARCHY_REF="${OMARCHY_REF:-master}"
|
||||
OMARCHY_REF="${OMARCHY_REF:-master}"
|
||||
if [[ $OMARCHY_REF != "master" ]]; then
|
||||
echo -e "\e[32mUsing branch: $OMARCHY_REF\e[0m"
|
||||
cd ~/.local/share/omarchy
|
||||
@@ -35,5 +35,12 @@ if [[ $OMARCHY_REF != "master" ]]; then
|
||||
cd -
|
||||
fi
|
||||
|
||||
# Set edge mirror for dev installs
|
||||
if [[ $OMARCHY_REF == "dev" ]]; then
|
||||
export OMARCHY_MIRROR=edge
|
||||
else
|
||||
export OMARCHY_MIRROR=stable
|
||||
fi
|
||||
|
||||
echo -e "\nInstallation starting..."
|
||||
source ~/.local/share/omarchy/install.sh
|
||||
|
||||
Reference in New Issue
Block a user