8000 Generalize `boot.sh` to support running any ref by rmacklin · Pull Request #187 · omacom/omakub · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
23 changes: 0 additions & 23 deletions boot-dev.sh

This file was deleted.

9 changes: 7 additions & 2 deletions boot.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ echo -e "\nBegin installation (or abort with ctrl+c)..."
sudo apt-get update >/dev/null
sudo apt-get install -y git >/dev/null

echo "Cloning stable Omakub..."
echo "Cloning Omakub..."
rm -rf ~/.local/share/omakub
git clone -b stable https://github.com/basecamp/omakub.git ~/.local/share/omakub >/dev/null
git clone https://github.com/basecamp/omakub.git ~/.local/share/omakub >/dev/null
if [[ $OMAKUB_REF != "master" ]]; then
cd ~/.local/share/omakub
git fetch origin "${OMAKUB_REF:-stable}" && git checkout FETCH_HEAD
cd -
fi

echo "Installation starting..."
source ~/.local/share/omakub/install.sh
0