diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-07-14 23:11:17 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2019-07-14 23:11:17 -0400 |
| commit | 953f077f9d6e4272ebc38a6ef50111b04045a3a3 (patch) | |
| tree | 9b9b9bfadc20ff2a611311236295b47113f0bcde | |
| parent | 0d3b399b6134378bf3114d2af4c3ebc6b1433e22 (diff) | |
Override the installinit name
Without this, when building the `jellyfin-nightly` package, it attempts
to find service/init files with the name `jellyfin-nightly` instead of
the proper name. This override prevents this by forcing the name to
`jellyfin`. Required for nightly builds.
| -rw-r--r-- | deployment/debian-package-x64/pkg-src/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/debian-package-x64/pkg-src/rules b/deployment/debian-package-x64/pkg-src/rules index ee41e0e24..2a5d41a69 100644 --- a/deployment/debian-package-x64/pkg-src/rules +++ b/deployment/debian-package-x64/pkg-src/rules @@ -45,3 +45,7 @@ override_dh_auto_build: override_dh_auto_clean: dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true rm -rf '$(CURDIR)/usr' + +# Force the service name to jellyfin even if we're building jellyfin-nightly +override_dh_installinit: + dh_installinit --name=jellyfin |
