diff options
| author | Brian J. Murrell <brian@interlinx.bc.ca> | 2023-09-12 07:57:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-12 07:57:09 -0400 |
| commit | 9d5e6108fb6446834e7d7db12abc10f03a8657f5 (patch) | |
| tree | e70d64ecc73333fee231ca7ad846bf71ec0a1840 | |
| parent | 95fef74085286a63eef60f26ccf37e4c92b792f8 (diff) | |
Make startup script more portable
Make the creation of the startup script more portable and future-proof.
| -rw-r--r-- | fedora/jellyfin.spec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec index d9d3d4869..1f7262e66 100644 --- a/fedora/jellyfin.spec +++ b/fedora/jellyfin.spec @@ -75,6 +75,7 @@ dotnet publish --configuration Release --self-contained --runtime %{dotnet_runti %{__mkdir} -p %{buildroot}%{_libdir}/jellyfin %{buildroot}%{_bindir} %{__cp} -r Jellyfin.Server/bin/Release/net7.0/%{dotnet_runtime}/publish/* %{buildroot}%{_libdir}/jellyfin %{__install} -D %{SOURCE10} %{buildroot}%{_bindir}/jellyfin +sed -i -e 's/\/usr\/lib64/%{_libdir}/g' %{buildroot}%{_bindir}/jellyfin # Jellyfin config %{__install} -D Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/jellyfin/logging.json |
