forked from basecamp/omarchy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot.sh
More file actions
executable file
·47 lines (40 loc) · 4.97 KB
/
Copy pathboot.sh
File metadata and controls
executable file
·47 lines (40 loc) · 4.97 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
ansi_art='██████████████████████████████████████████████████████████████████████
█▌▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒███████▒▒▒▒▒█████████▒▒█████▒▒▒█████▒██████▒▒▒██████▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒███░░░░░███▒▒███░░░░░███░░███▒▒▒░░███▒░░██████▒██████▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒███▒▒▒▒▒░░███░███▒▒▒▒░░░▒▒░███▒▒▒▒░███▒▒░███░█████░███▒▒▒▒▒▒▐█
█▌▒▒▒▒▒░███▒▒▒▒▒▒░███░░█████████▒▒░███▒▒▒▒░███▒▒░███░░███▒░███▒▒▒▒▒▒▐█
█▌▒▒▒▒▒░███▒▒▒▒▒▒░███▒░░░░░░░░███▒░░███▒▒▒███▒▒▒░███▒░░░▒▒░███▒▒▒▒▒▒▐█
█▌▒▒▒▒▒░░███▒▒▒▒▒███▒▒███▒▒▒▒░███▒▒░░░█████░▒▒▒▒░███▒▒▒▒▒▒░███▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒░░░███████░▒▒░░█████████▒▒▒▒▒░░███▒▒▒▒▒▒█████▒▒▒▒▒█████▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒░░░░░░░░░▒▒▒▒▒▒▒░░░▒▒▒▒▒▒░░░░░▒▒▒▒▒░░░░░▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█████▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░███▒▒▒▒▒▒▒░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒▒██████▒▒▒████████▒▒▒██████▒▒░███████▒▒▒████▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒░░░░░███▒░░███░░███▒███░░███▒░███░░███▒░░███▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒▒███████▒▒░███▒░░░▒░███▒░░░▒▒░███▒░███▒▒░███▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒███░░███▒▒░███▒▒▒▒▒░███▒▒███▒░███▒░███▒▒░███▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒██░░████████▒█████▒▒▒▒░░██████▒▒████▒█████▒█████▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒░░▒▒░░░░░░░░▒░░░░░▒▒▒▒▒▒░░░░░░▒▒░░░░▒░░░░░▒░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
█▌▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐█
██████████████████████████████████████████████████████████████████████
O S V M A R C H I '
clear
echo -e "\n$ansi_art\n"
sudo pacman -Syu --noconfirm --needed git
# Use custom repo if specified, otherwise default to openSVM/osvmarchi
OSVMARCHI_REPO="${OSVMARCHI_REPO:-openSVM/osvmarchi}"
echo -e "\nCloning OSVMarchi from: https://github.com/${OSVMARCHI_REPO}.git"
rm -rf ~/.local/share/osvmarchi/
git clone "https://github.com/${OSVMARCHI_REPO}.git" ~/.local/share/osvmarchi >/dev/null
# Use custom branch if instructed, otherwise default to master
OSVMARCHI_REF="${OSVMARCHI_REF:-master}"
if [[ $OSVMARCHI_REF != "master" ]]; then
echo -e "\eUsing branch: $OSVMARCHI_REF"
cd ~/.local/share/osvmarchi
git fetch origin "${OSVMARCHI_REF}" && git checkout "${OSVMARCHI_REF}"
cd -
fi
echo -e "\nInstallation starting..."
source ~/.local/share/osvmarchi/install.sh