-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
26 lines (22 loc) · 839 Bytes
/
install.sh
File metadata and controls
26 lines (22 loc) · 839 Bytes
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
set -e # Break execution on errors
# Update packages before running scripts
echo "Updating the package list..."
sudo apt update
sudo apt upgrade -y
# List of scripts to execute
SCRIPTS=(
"http://lineage2js.github.io/scripts/install_tools.sh"
"http://lineage2js.github.io/scripts/install_db.sh"
"http://lineage2js.github.io/scripts/setup_db.sh"
"http://lineage2js.github.io/scripts/install_web_server.sh"
"http://lineage2js.github.io/scripts/install_web_ui.sh"
"http://lineage2js.github.io/scripts/install_login_server.sh"
"http://lineage2js.github.io/scripts/install_game_server.sh"
)
for script_url in "${SCRIPTS[@]}"; do
script_name=$(basename "$script_url")
echo "Execute $script_name..."
wget -q -O - "$script_url" | bash
echo "----------------------------------------"
done