aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAJ Jordan <alex@strugee.net>2020-11-29 04:13:03 -0500
committerAJ Jordan <alex@strugee.net>2020-11-29 04:15:11 -0500
commitb528816b2a59c295ff37b8ca24fbc964094e1272 (patch)
tree8e2c012b5aea25c87054df86debe614340aefe8b
parent2911dfc37d79bb4069a0ca1272ee6609f0400a39 (diff)
Add sudo to package dependencies
It's used in the restart.sh script. For Debian, this is a Recommends because virtually everyone will need this (default APT policy is to install recommended packages so this works ok), but technically you can configure the server to run as root and then you wouldn't need it. For Fedora... frankly I got confused by their Weak Dependencies etc. so I just made it a hard dependency.
-rw-r--r--debian/control2
-rw-r--r--fedora/jellyfin.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 9675d36ca..51b20c670 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,6 @@ Depends: at,
libfontconfig1,
libfreetype6,
libssl1.1
-Recommends: jellyfin-web
+Recommends: jellyfin-web, sudo
Description: Jellyfin is the Free Software Media System.
This package provides the Jellyfin server backend and API.
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec
index 197126ee5..de259efb5 100644
--- a/fedora/jellyfin.spec
+++ b/fedora/jellyfin.spec
@@ -40,7 +40,7 @@ Jellyfin is a free software media system that puts you in control of managing an
Summary: The Free Software Media System Server backend
Requires(pre): shadow-utils
Requires: ffmpeg
-Requires: libcurl, fontconfig, freetype, openssl, glibc, libicu, at
+Requires: libcurl, fontconfig, freetype, openssl, glibc, libicu, at, sudo
%description server
The Jellyfin media server backend.