forked from forkanization/Proxmox-arm64
update statuses
This commit is contained in:
@@ -23,7 +23,7 @@ msg_info "Installing rclone"
|
||||
temp_file=$(mktemp)
|
||||
mkdir -p /opt/rclone
|
||||
RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-amd64.zip" -o "$temp_file"
|
||||
curl -fsSL "https://github.com/rclone/rclone/releases/download/v${RELEASE}/rclone-v${RELEASE}-linux-arm64.zip" -o "$temp_file"
|
||||
$STD unzip -j "$temp_file" '*/**' -d /opt/rclone
|
||||
cd /opt/rclone
|
||||
RCLONE_PASSWORD=$(head -c 16 /dev/urandom | xxd -p -c 16)
|
||||
|
||||
@@ -26,6 +26,7 @@ $STD apt-get install -y \
|
||||
jq \
|
||||
python3 \
|
||||
python3-bcrypt
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="turbo@1.9.3" install_node_and_modules
|
||||
|
||||
@@ -26,13 +26,14 @@ msg_info "Installing Hardware Acceleration"
|
||||
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo}
|
||||
msg_ok "Installed and Set Up Hardware Acceleration"
|
||||
|
||||
msg_info "Installing ASP.NET Core Runtime"
|
||||
curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
|
||||
$STD dpkg -i packages-microsoft-prod.deb
|
||||
rm -rf packages-microsoft-prod.deb
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y aspnetcore-runtime-8.0
|
||||
msg_ok "Installed ASP.NET Core Runtime"
|
||||
msg_info "Installing ASP.NET Core 7 SDK"
|
||||
curl -SL -o aspnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/8.0.16/aspnetcore-runtime-8.0.16-linux-arm64.tar.gz
|
||||
$STD mkdir -p /usr/share/dotnet
|
||||
$STD tar -zxf aspnet.tar.gz -C /usr/share/dotnet
|
||||
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
|
||||
$STD rm -f aspnet.tar.gz
|
||||
msg_ok "Installed ASP.NET Core 7 SDK"
|
||||
|
||||
|
||||
msg_info "Setup ${APPLICATION}"
|
||||
$STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg
|
||||
|
||||
Reference in New Issue
Block a user