-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboot.sh
25 lines (21 loc) · 837 Bytes
/
boot.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set -e
ascii_art=' __
____ _____ _____ | | _______ _____ _____
/ _ \ / \\__ \ | |/ /\__ \ / \\__ \
( <_> ) Y Y \/ __ \| < / __ \| Y Y \/ __ \_
\____/|__|_| (____ /__|_ \(____ /__|_| (____ /
\/ \/ \/ \/ \/ \/
'
echo -e "$ascii_art"
echo "=> Omakma is for fresh macOS Sonoma 14.5 installations only!"
echo -e "\nBegin installation (or abort with ctrl+c)..."
echo "Cloning Omakma..."
rm -rf $HOME/.local/share/omakma
git clone https://github.com/cuonggt/omakma.git $HOME/.local/share/omakma >/dev/null
if [[ $OMAKMA_REF != "master" ]]; then
cd $HOME/.local/share/omakma
git fetch origin "${OMAKMA_REF:-master}" && git checkout "${OMAKMA_REF:-master}"
cd -
fi
echo "Installation starting..."
source $HOME/.local/share/omakma/install.sh