From 89c7a64da0c0168a230af604c936373a3652caa7 Mon Sep 17 00:00:00 2001 From: Eggbertx Date: Sun, 29 Dec 2024 16:54:36 -0800 Subject: [PATCH] Don't require screen in get_pre2021.sh --- tools/get_pre2021.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tools/get_pre2021.sh b/tools/get_pre2021.sh index b2e24565..764a92d9 100755 --- a/tools/get_pre2021.sh +++ b/tools/get_pre2021.sh @@ -10,11 +10,6 @@ RELEASE_DIR="gochan-${TESTING_VERSION}_linux" RELEASE_GZ="$RELEASE_DIR.tar.gz" RELEASE_URL="https://github.com/gochan-org/gochan/releases/download/$TESTING_VERSION/$RELEASE_GZ" -if [ -z "$STY" ]; then - echo "This command should be run from a screen instance" - echo "Example: screen -S get_pre2021 $0" - exit 1 -fi if [ "$USER" != "vagrant" ]; then echo "This must be run in the vagrant VM (expected \$USER to be vagrant, got $USER)" @@ -29,7 +24,7 @@ echo "Extracting $RELEASE_GZ" tar -xf gochan-v2.12.0_linux.tar.gz cd $RELEASE_DIR -cp examples/configs/gochan.example.json gochan.json +cp sample-configs/gochan.example.json gochan.json echo "Modifying $PWD/gochan.json for testing migration" sed -i gochan.json \ -e 's/"Port": .*/"Port": 9000,/' \ @@ -64,4 +59,4 @@ else exit 1 fi -sudo ./gochan \ No newline at end of file +sudo ./gochan