Skip to content

Commit 9cdc575

Browse files
authored
Merge pull request #65 from PSandro/psandro-fix
Fix Typo
2 parents 2f533a1 + b479e6d commit 9cdc575

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SinusBot Installer for Linux
1+
# SinusBot installer for Linux
22

33
[![Build Status](https://travis-ci.org/SinusBot/installer-linux.svg?branch=master)](https://travis-ci.org/SinusBot/installer-linux)
44

sinusbot_installer.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# SinusBot Installer by Philipp Eßwein - DAThosting.eu philipp.esswein@dathosting.eu
2+
# SinusBot installer by Philipp Eßwein - DAThosting.eu philipp.esswein@dathosting.eu
33

44
# Vars
55

@@ -76,7 +76,7 @@ fi
7676

7777
# Update notify
7878

79-
cyanMessage "Checking for the latest latest installer version"
79+
cyanMessage "Checking for the latest installer version"
8080
if [ -f /etc/centos-release ]; then
8181
yum -y -q install wget
8282
else
@@ -85,7 +85,7 @@ fi
8585
LATEST_VERSION=$(wget --no-check-certificate --timeout=60 -qO - https://raw.githubusercontent.com/SinusBot/installer-linux/master/sinusbot_installer.sh | grep -Po '(?<=Instversion=")([0-9]\.[0-9]+)')
8686

8787
if [ "$(printf "${LATEST_VERSION}\\n${Instversion}" | sort -V | tail -n 1)" != "$Instversion" ]; then
88-
errorExit "Outdated installer ${Instversion}. Upgrade your installer to version ${LATEST_VERSION}. Or reuse https://sinusbot-installer.de"
88+
errorExit "Outdated installer ${Instversion}. Upgrade your installer to version ${LATEST_VERSION} or reuse https://sinusbot-installer.de"
8989
else
9090
greenMessage "Your installer is up-to-date."
9191
sleep 1
@@ -98,7 +98,7 @@ fi
9898

9999
# If the linux distribution is not debian and centos, then exit
100100
if [ ! -f /etc/debian_version ] && [ ! -f /etc/centos-release ]; then
101-
errorExit 'Not supported linux distribution. Only Debian and CentOS are currently supported'!
101+
errorExit "Not supported linux distribution. Only Debian and CentOS are currently supported"!
102102
fi
103103

104104
greenMessage "This is the automatic installer for latest SinusBot. USE AT YOUR OWN RISK"!
@@ -109,10 +109,10 @@ redMessage "Installer by Philipp Esswein | DAThosting.eu - Your game-/voiceserve
109109
sleep 1
110110
magentaMessage "Please rate this script at: https://forum.sinusbot.com/resources/sinusbot-installer-script.58/"
111111
sleep 1
112-
yellowMessage "You're using Installer $Instversion"
112+
yellowMessage "You're using installer $Instversion"
113113

114114
# selection menu if the installer should install, update, remove or pw reset the SinusBot
115-
redMessage "What should the Installer do?"
115+
redMessage "What should the installer do?"
116116
OPTIONS=("Install" "Update" "Remove" "PW Reset" "Quit")
117117
select OPTION in "${OPTIONS[@]}"; do
118118
case "$REPLY" in
@@ -244,7 +244,7 @@ if [ "$INSTALL" != "Rem" ]; then
244244
yum -y -q install redhat-lsb
245245
greenMessage "Done"!
246246

247-
yellowMessage "You're running CentOS. Which firewallsystem you're using?"
247+
yellowMessage "You're running CentOS. Which firewallsystem are you using?"
248248

249249
OPTIONS=("IPtables" "Firewalld")
250250
select OPTION in "${OPTIONS[@]}"; do
@@ -285,9 +285,9 @@ if [ "$INSTALL" != "Rem" ]; then
285285
fi
286286

287287
if [[ $VIRTUALIZATION_TYPE == "openvz" ]]; then
288-
redMessage "Warning, your server running under OpenVZ! This is an very old container system and isn't well supported by newer packages."
288+
redMessage "Warning, your server is running OpenVZ! This very old container system isn't well supported by newer packages."
289289
elif [[ $VIRTUALIZATION_TYPE == "docker" ]]; then
290-
redMessage "Warning, your server running under Docker! Maybe there are failures while installing."
290+
redMessage "Warning, your server is running Docker! Maybe there are failures while installing."
291291
fi
292292

293293
fi
@@ -336,7 +336,7 @@ done
336336
if [ "$OPTION" == "Automatic" ]; then
337337
LOCATION=/opt/sinusbot
338338
elif [ "$OPTION" == "Own path" ]; then
339-
yellowMessage "Enter location where the bot should be installed/updated/removed. Like /opt/sinusbot. Include the / at first position and none at the end"!
339+
yellowMessage "Enter location where the bot should be installed/updated/removed, e.g. /opt/sinusbot. Include the / at first position and none at the end"!
340340
LOCATION=""
341341
while [[ ! -d $LOCATION ]]; do
342342
read -rp "Location [/opt/sinusbot]: " LOCATION
@@ -606,7 +606,7 @@ greenMessage "Searching latest TS3-Client build for hardware type $MACHINE with
606606

607607
VERSION="3.2.3"
608608

609-
#VERSION=$(wget -qO - 'https://sinusbot-installer.de/ts3version')
609+
#VERSION=$(wget -qO - 'https://sinusbot-installer.de/ts3version')
610610

611611
DOWNLOAD_URL_VERSION="http://dl.4players.de/ts/releases/$VERSION/TeamSpeak3-Client-linux_$ARCH-$VERSION.run"
612612
STATUS=$(wget --server-response -L $DOWNLOAD_URL_VERSION 2>&1 | awk '/^ HTTP/{print $2}')

startup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func main() {
3232
Parameters: []parameter{
3333
parameter{
3434
Value: "1",
35-
Detect: "What should the Installer do?",
35+
Detect: "What should the installer do?",
3636
},
3737
parameter{
3838
Value: "1",

0 commit comments

Comments
 (0)