i hate spelling issues
This commit is contained in:
parent
c339170ece
commit
73d49d00c8
@ -51,8 +51,8 @@ sleep 2
|
||||
|
||||
printf "\n+ Starting to upgrade base system\n\n"
|
||||
|
||||
apt update >>
|
||||
apt upgrade -y >>
|
||||
apt update
|
||||
apt upgrade -y
|
||||
apt autoremove --purge -y
|
||||
|
||||
|
||||
@ -175,11 +175,11 @@ if [[ "$ansPlayerSync" =~ ["y"|"Y"] || -z $ansPlayerSync ]]; then
|
||||
rndr=$((RANDOM % (32765-10000+1)+10000))
|
||||
sed -i "s/1234567890/$rndr$rndr/g" config/playersync-common.toml #gens uniqe id
|
||||
|
||||
if [[ $password -n ]]; then
|
||||
if [[ -n $password ]]; then
|
||||
sed -i "s/KurevskeHesloMain/$password/g" config/playersync-common.toml
|
||||
fi
|
||||
|
||||
if [[ $user_name -z ]]; then
|
||||
if [[ -n $user_name ]]; then
|
||||
sed -i "s/mainUser/$user_name/g" config/playersync-common.toml
|
||||
fi
|
||||
|
||||
@ -210,7 +210,7 @@ else
|
||||
read startServer
|
||||
|
||||
if [[ "$startServer" =~ ("y"|"Y") || -z $startServer ]]; then
|
||||
systemctl start mc-forge.serice
|
||||
systemctl start mc-forge
|
||||
fi
|
||||
|
||||
systemctl enable mc-forge
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user