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"