From 3b63b979ff478d9fe1e5ead94bd03fa58443fda4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 16 Feb 2024 00:06:05 -0300 Subject: Remove obsolete file --- localserver/updater.sh | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 localserver/updater.sh diff --git a/localserver/updater.sh b/localserver/updater.sh deleted file mode 100755 index a36d047..0000000 --- a/localserver/updater.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env bash - -# Apply beta.patch if it exists to server-data -# It will only exist on BETA SERVERS, though -if [ -e "./beta.patch" ] - then - echo "Apply beta.patch ........" - cd ../../server-data - git apply ../tools/localserver/beta.patch - cd $DIR - mv beta.patch .~beta.patch - ls - echo "........ Done." -fi - -# Apply beta.patch2 if it exists to server-code -# It will only exist on BETA SERVERS, though -if [ -e "./beta.patch2" ] - then - echo "Apply server updates ........" - sleep 1 - cd ../../server-code - git checkout -- src - echo "Rolling server back to correct version" - #git diff master ce2dbb6acdc559ec256d1f9f9a779b8283064708 > x.diff - #ls - #head -n 25 x.diff - #tail -n 40 x.diff - #git apply --reject --whitespace=nowarn x.diff - git status - ls --recursive|grep ".rej" - cd ../tools/localserver - echo "Server code clean ........" - sleep 1 - python applicator.py - echo "Apply beta.patch2 ........" - cd ../../server-code - git apply ../tools/localserver/beta.patch2 - cd $DIR - #mv beta.patch2 .~beta.patch2 - ls - echo "........ Done." -fi - -- cgit v1.2.3-70-g09d2