forked from DirtyHarryDev/Yiimp-Server-Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
25 lines (19 loc) · 1.24 KB
/
bootstrap.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
#!/usr/bin/env bash
###########################################################################################################
# Source https://mailinabox.email/ https://github.com/mail-in-a-box/mailinabox #
# Updated by Dirty Harry for crypto use... #
# This script is intended to be run like this: #
# #
# curl https://raw.githubusercontent.com/DirtyHarryDev/Yiimp-Server-Installer/master/bootstrap.sh | bash #
# #
###########################################################################################################
# Clone the Yiimp Server repository if it doesn't exist.
echo Installing git . . .
apt-get -q -q update
apt-get -q -q install -y git < /dev/null
echo
echo Downloading Yiimp Server Installer v1.0. . .
git clone https://github.com/DirtyHarryDev/yiimp_server_setup "$HOME"/yiimpserver/install < /dev/null 2> /dev/null
echo
# Start setup script.
bash $HOME/yiimpserver/install/start.sh