From 94ae1f16f6ec5d15285d28379222f5a5c0bad397 Mon Sep 17 00:00:00 2001 From: sky Date: Thu, 12 Dec 2024 22:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20simpleupdates/scripts/upda?= =?UTF-8?q?te=5Fsocat-at-bridge.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scripts/update_socat-at-bridge.sh | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/simpleupdates/scripts/update_socat-at-bridge.sh b/simpleupdates/scripts/update_socat-at-bridge.sh index 40aa6e3..d534538 100644 --- a/simpleupdates/scripts/update_socat-at-bridge.sh +++ b/simpleupdates/scripts/update_socat-at-bridge.sh @@ -5,8 +5,8 @@ GITEA_HOST="code.060070.xyz" GITUSER="sky" REPONAME="simple-admin" -GITTREE="beta" -GITMAINTREE="beta" +GITTREE="beta-curl" +GITMAINTREE="beta-curl" GITDEVTREE="dev" # Construct Gitea URLs @@ -55,8 +55,8 @@ cat < "$TMP_SCRIPT" GITEA_HOST="code.060070.xyz" GITUSER="sky" REPONAME="simple-admin" -GITTREE="beta" -GITMAINTREE="beta" +GITTREE="beta-curl" +GITMAINTREE="beta-curl" GITDEVTREE="dev" # Construct Gitea URLs @@ -110,18 +110,18 @@ install_at_socat() { mkdir $SOCAT_AT_DIR cd $SOCAT_AT_DIR mkdir $SOCAT_AT_SYSD_DIR - wget $GITROOT/socat-at-bridge/socat-armel-static - wget $GITROOT/socat-at-bridge/killsmd7bridge - wget $GITROOT/socat-at-bridge/atcmd - wget $GITROOT/socat-at-bridge/atcmd11 + curl -O $GITROOT/socat-at-bridge/socat-armel-static + curl -O $GITROOT/socat-at-bridge/killsmd7bridge + curl -O $GITROOT/socat-at-bridge/atcmd + curl -O $GITROOT/socat-at-bridge/atcmd11 cd $SOCAT_AT_SYSD_DIR - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11-from-ttyIN.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-killsmd7bridge.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7-from-ttyIN2.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7-to-ttyIN2.service - wget $GITROOT/socat-at-bridge/systemd_units/socat-smd7.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11-from-ttyIN.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd11-to-ttyIN.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-killsmd7bridge.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7-from-ttyIN2.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7-to-ttyIN2.service + curl -O $GITROOT/socat-at-bridge/systemd_units/socat-smd7.service # Set execute permissions cd $SOCAT_AT_DIR