mirror of https://github.com/tteck/Proxmox.git
changed how .NET is installed, using the official script from m$
This commit is contained in:
parent
3d5cedaaaa
commit
b0943e6f5d
|
@ -21,15 +21,13 @@ $STD apt-get install -y unzip
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing ASP.NET Core Runtime"
|
msg_info "Installing ASP.NET Core Runtime"
|
||||||
wget -q https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb
|
$STD bash -c "$(wget --no-cache -qLO - https://dot.net/v1/dotnet-install.sh)"
|
||||||
dpkg -i packages-microsoft-prod.deb &>/dev/null
|
ln -s /root/.dotnet/dotnet /usr/bin/dotnet
|
||||||
rm packages-microsoft-prod.deb
|
|
||||||
apt-get update &>/dev/null
|
|
||||||
apt-get install -y dotnet-sdk-6.0 &>/dev/null
|
|
||||||
msg_ok "Installed ASP.NET Core Runtime"
|
msg_ok "Installed ASP.NET Core Runtime"
|
||||||
msg_info "Installing rdtclient"
|
msg_info "Installing rdtclient"
|
||||||
wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip
|
wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip
|
||||||
unzip -qq RealDebridClient.zip -d /opt/rdtc
|
unzip -qq RealDebridClient.zip -d /opt/rdtc
|
||||||
|
rm RealDebridClient.zip
|
||||||
mkdir -p /data/db/ # defaults for rdtclient
|
mkdir -p /data/db/ # defaults for rdtclient
|
||||||
mkdir -p /data/downloads # defaults for rdtclient
|
mkdir -p /data/downloads # defaults for rdtclient
|
||||||
msg_info "Installed rdtclient"
|
msg_info "Installed rdtclient"
|
||||||
|
|
Loading…
Reference in New Issue