Make startup script more portable
Make the creation of the startup script more portable and future-proof.
This commit is contained in:
parent
95fef74085
commit
9d5e6108fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user