Skip to content

Commit

Permalink
Fix sed failing on Docker builds for CentOS/Fedora (jellyfin#10285)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidFair authored Oct 1, 2023
1 parent 7f8d9ae commit 35d6c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedora/jellyfin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +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
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
Expand Down

0 comments on commit 35d6c14

Please sign in to comment.