-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
wpe-aarch64
29 lines (25 loc) · 924 Bytes
/
wpe-aarch64
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
#!/usr/bin/env bash
if [ "$(which sudo 2> /dev/null)" = "" ]; then
echo -e "installing $(tput bold)sudo$(tput sgr0)"
bash <(curl -s https://archibold.io/install/sudo)
fi
if [ "$(which yay 2> /dev/null)" = "" ]; then
if [ "$(which aur 2> /dev/null)" = "" ]; then
echo ""
echo -e "installing minimal $(tput bold)aur$(tput sgr0) utility"
echo -e "\e[2mroot password required$(tput sgr0)"
bash <(curl -s https://archibold.io/install/aur)
fi
echo ""
echo -e "installing $(tput bold)yay$(tput sgr0) AUR manager"
echo -e "\e[2mroot password required first$(tput sgr0)"
echo -e "\e[2malarm password for sudo required after$(tput sgr0)"
aur yay
fi
yes y | yay -S --needed cairo-glesv2-aarch64
yes y | yay -S --needed wpewebkit-gl-aarch64
yes y | yay -S --needed cog-wpe-gl
if [ "$(basename $0)" = "wpe-install" ] && [ -f $0 ]; then
echo -e "Please type $(tput bold)exit$(tput sgr0)"
exit
fi