Refresh docs on version download (#68)
This commit is contained in:
1 parent
5366d0a116
commit
1441aaf4f9
1 file changed
+2
-2
+2
-2
@@ -55,8 +55,8 @@ if [ ! -f "bedrock_server-${VERSION}" ]; then
|
|||||||
echo "Downloading Bedrock server version ${VERSION} ..."
|
echo "Downloading Bedrock server version ${VERSION} ..."
|
||||||
curl -o ${TMP_ZIP} -fsSL ${DOWNLOAD_URL}
|
curl -o ${TMP_ZIP} -fsSL ${DOWNLOAD_URL}
|
||||||
|
|
||||||
# remove only binaries to allow for an upgrade of those
|
# remove only binaries and some docs, to allow for an upgrade of those
|
||||||
rm -f bedrock_server *.so 2> /dev/null
|
rm -f bedrock_server *.so release-notes.txt bedrock_server_how_to.html 2> /dev/null
|
||||||
# ... use -n to avoid overwriting any existing files with the archive's copy
|
# ... use -n to avoid overwriting any existing files with the archive's copy
|
||||||
unzip -n -q ${TMP_ZIP}
|
unzip -n -q ${TMP_ZIP}
|
||||||
rm ${TMP_ZIP}
|
rm ${TMP_ZIP}
|
||||||
|
|||||||
Reference in new issue
Block a user