From d7c7d743fea660006e50580a0df7995aee4f8894 Mon Sep 17 00:00:00 2001 From: fithwum Date: Tue, 28 Jul 2026 11:33:55 -0700 Subject: [PATCH] test --- latest/install_script.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/latest/install_script.sh b/latest/install_script.sh index 0b1c26d..ca9f2ba 100644 --- a/latest/install_script.sh +++ b/latest/install_script.sh @@ -7,7 +7,7 @@ VS_SERVER_DIR=/vs_server/server VS_DATA_DIR=/vs_server/server/data START_FILE=$VS_SERVER_DIR/server-$VS_VERSION.sh LOG_FILE=$VS_DATA_DIR/Logs/server-main.log -START_FILE=https://gitea.fithwum.tech/fithwum/vintage-story/raw/branch/main/latest/start.sh +START_FILE_2=https://gitea.fithwum.tech/fithwum/vintage-story/raw/branch/main/latest/start.sh VS_SERVER_FILE=https://cdn.vintagestory.at/gamefiles/$VS_CHANNEL/vs_server_linux-x64_$VS_VERSION.tar.gz MS_REPO_URL=https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb USERNAME=adduser vintagestory @@ -101,17 +101,16 @@ if [ ! -f $MARKER_FILE ]; then fi # Download the start file for the screen session -if [ -f $VS_SERVER_DIR/start.sh ]; then +if [ -f $START_FILE_2 ]; then echo "INFO ! start.sh found ... moving on." else echo "WARNING ! start.sh missing ... downloading default file." - wget --no-cache --show-progress --progress=bar:force:noscroll $START_FILE -O $VS_SERVER_DIR/start.sh + wget --no-cache --show-progress --progress=bar:force:noscroll $START_FILE_2 -O $VS_SERVER_DIR/start.sh chmod +x $VS_SERVER_DIR/start.sh fi # Run vintage-story server. -cd $VS_SERVER_DIR -exec ./start.sh +exec $VS_SERVER_DIR/start.sh # echo " " # echo "INFO ! Starting vintage-story Server $VS_VERSION"