Skip to content

The Free Software Media System - Server Backend & API

Move dotnet to a per-platform dependency

Joshua Boniface3320d4feeb22
diff --git a/build b/build
index 9047dd816b..c2daddd84a 100755
--- a/build
+++ b/build
@@ -15,8 +15,7 @@ declare -a platforms=( $(
# The list of standard dependencies required by all build scripts; individual
# action scripts may specify their own dependencies
-declare -a dependencies
-dependencies=( 'tar' 'zip' 'dotnet' )
+declare -a dependencies=( 'tar' 'zip' )
usage() {
echo -e "build - build Jellyfin binaries or packages"
diff --git a/deployment/debian-x64/dependencies.txt b/deployment/debian-x64/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/debian-x64/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/linux-x64/dependencies.txt b/deployment/linux-x64/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/linux-x64/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/osx-x64/dependencies.txt b/deployment/osx-x64/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/osx-x64/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/ubuntu-x64/dependencies.txt b/deployment/ubuntu-x64/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/ubuntu-x64/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/win-generic/dependencies.txt b/deployment/win-generic/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/win-generic/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/win-x64/dependencies.txt b/deployment/win-x64/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/win-x64/dependencies.txt
@@ -0,0 +1 @@
+dotnet
diff --git a/deployment/win-x86/dependencies.txt b/deployment/win-x86/dependencies.txt
new file mode 100644
index 0000000000..3d25d1bdf4
--- /dev/null
+++ b/deployment/win-x86/dependencies.txt
@@ -0,0 +1 @@
+dotnet