-
Notifications
You must be signed in to change notification settings - Fork 57
/
create.sh
executable file
·26 lines (25 loc) · 1.35 KB
/
create.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
26
#!/bin/bash
# Bash Curecoin Installer
PS3='Please enter your choice: '
options=("Install Full Curecoin Wallet" "Install Curecoin Daemon" "Install dependencies" "Install all" "Exit")
select opt in "${options[@]}"
do
case $opt in
"Install Full Curecoin Wallet")
qmake && make && echo Done installing && break
;;
"Install Curecoin Daemon")
cd src && make -f makefile.unix && echo Done installing && break
;;
"Install dependencies")
sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential && echo Done installing dependencies. Relaunch to install Curecoin && break
;;
"Install all")
sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential && qmake && make && cd src && make -f makefile.unix && echo Done installing && break
;;
"Exit")
echo "Visit curecoin.net/forum for support" && break
;;
*) echo invalid option;;
esac
done