mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-31 06:34:17 -04:00
Update Rdtclient to dotnet 10.0 (#12638)
* rdtclient: Upgrade aspnetcore-runtime from 9.0 to 10.0 * rdtclient: change update function to grab dotnet 10.0
This commit is contained in:
@@ -39,9 +39,9 @@ function update_script() {
|
|||||||
|
|
||||||
fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip"
|
fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip"
|
||||||
cp -R /opt/rdtc-backup/appsettings.json /opt/rdtc/
|
cp -R /opt/rdtc-backup/appsettings.json /opt/rdtc/
|
||||||
if dpkg-query -W dotnet-sdk-8.0 >/dev/null 2>&1; then
|
if dpkg-query -W aspnetcore-runtime-9.0 >/dev/null 2>&1; then
|
||||||
$STD apt remove --purge -y dotnet-sdk-8.0
|
$STD apt remove --purge -y aspnetcore-runtime-9.0
|
||||||
ensure_dependencies aspnetcore-runtime-9.0
|
ensure_dependencies aspnetcore-runtime-10.0
|
||||||
fi
|
fi
|
||||||
rm -rf /opt/rdtc-backup
|
rm -rf /opt/rdtc-backup
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ setup_deb822_repo \
|
|||||||
"https://packages.microsoft.com/keys/microsoft-2025.asc" \
|
"https://packages.microsoft.com/keys/microsoft-2025.asc" \
|
||||||
"https://packages.microsoft.com/debian/13/prod/" \
|
"https://packages.microsoft.com/debian/13/prod/" \
|
||||||
"trixie"
|
"trixie"
|
||||||
$STD apt install -y aspnetcore-runtime-9.0
|
$STD apt install -y aspnetcore-runtime-10.0
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip"
|
fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user