From 74da15f98f8568b1c228def4a7910a5beaa34d05 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Fri, 6 Mar 2026 11:47:23 -0500 Subject: [PATCH] fix sed --- ct/oxicloud.sh | 2 +- install/oxicloud-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/oxicloud.sh b/ct/oxicloud.sh index 1674840e6..0ab69b99e 100644 --- a/ct/oxicloud.sh +++ b/ct/oxicloud.sh @@ -36,7 +36,7 @@ function update_script() { msg_ok "Stopped OxiCloud" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "OxiCloud" "DioCrafts/OxiCloud" "tarball" "latest" "/opt/oxicloud" - TOOLCHAIN="$(sed -n '/rust:/s/[^:]*://p' /opt/oxicloud/Dockerfile | awk -F- '{print $1}')" + TOOLCHAIN="$(sed -n '2s/[^:]*://p' /opt/oxicloud/Dockerfile | awk -F- '{print $1}')" RUST_TOOLCHAIN=$TOOLCHAIN setup_rust msg_info "Updating OxiCloud" diff --git a/install/oxicloud-install.sh b/install/oxicloud-install.sh index 9635d6133..b1b1e5ab0 100644 --- a/install/oxicloud-install.sh +++ b/install/oxicloud-install.sh @@ -21,7 +21,7 @@ msg_ok "Installed Dependencies" PG_VERSION="17" setup_postgresql PG_DB_NAME="oxicloud" PG_DB_USER="oxicloud" setup_postgresql_db fetch_and_deploy_gh_release "OxiCloud" "DioCrafts/OxiCloud" "tarball" "latest" "/opt/oxicloud" -TOOLCHAIN="$(sed -n '/rust:/s/[^:]*://p' /opt/oxicloud/Dockerfile | awk -F- '{print $1}')" +TOOLCHAIN="$(sed -n '2s/[^:]*://p' /opt/oxicloud/Dockerfile | awk -F- '{print $1}')" RUST_TOOLCHAIN=$TOOLCHAIN setup_rust msg_info "Building OxiCloud"