Skip to content

Commit

Permalink
Fix issue #76
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRemote committed Apr 22, 2021
1 parent 57cbf8a commit 16e7616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ chmod +x SetupMinecraft.sh
<ul>
<li>Added a safety check to prevent installing on 32 bit (i386 or i686) operating systems. The official Bedrock dedicated server has only been released as a 64 bit (x86_64) binary and attempts at emulation on 32 bit have failed to yield any successful results!</li>
<li>Added chmod +x bedrock_server to start.sh as updates seem to be removing executable permissions sometimes</li>
<li>Fix removing old backup directory context (thanks murkyl, <a href="https://github.com/TheRemote/MinecraftBedrockServer/issues/76">issue #76</a>)<li>
</ul>
<li>April 20th 2021</li>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ -d "worlds" ]; then
fi

# Rotate backups -- keep most recent 10
Rotate=$(ls -1tr dirname/minecraftbe/servername/backups | head -n -10 | xargs -d '\n' rm -f --)
Rotate=$(pushd dirname/minecraftbe/servername/backups; ls -1tr | head -n -10 | xargs -d '\n' rm -f --; popd)

# Retrieve latest version of Minecraft Bedrock dedicated server
echo "Checking for the latest version of Minecraft Bedrock server ..."
Expand Down

0 comments on commit 16e7616

Please sign in to comment.