update Dockerfile.

This commit is contained in:
AirryCo
2024-11-28 18:25:30 +08:00
parent ebbd53106f
commit 1ee6e90501
5 changed files with 14 additions and 14 deletions

View File

@@ -2,8 +2,8 @@
if [ -f /opt/spt-server/SPT.Server ]; then
appHash=$(md5sum /app/spt-server/SPT.Server | awk '{ print $1 }')
optHash=$(md5sum /opt/spt-server/SPT.Server | awk '{ print $1 }')
if [ "$appHash" = "$optHash" ]; then
exeHash=$(md5sum /opt/spt-server/SPT.Server | awk '{ print $1 }')
if [ "$appHash" = "$exeHash" ]; then
echo "MD5 verification successful!"
else
echo "MD5 mismatch, copy files to /opt/spt-server."