Merge pull request #334609 from jecaro/fix-slimserver-scan

slimserver: Fix bug in scanner
This commit is contained in:
Adam C. Stephens 2024-08-14 09:53:19 -04:00 committed by GitHub
commit 203ea78650
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ perlPackages.buildPerlPackage rec {
ExporterLite
FileBOM
FileCopyRecursive
FileNext
# FileNext # https://github.com/LMS-Community/slimserver/pull/1140
FileReadBackwards
FileSlurp
FileWhich
@ -125,10 +125,11 @@ perlPackages.buildPerlPackage rec {
rm -rf Bin
# remove most vendored modules, keeping necessary ones
mkdir -p CPAN_used/Class/C3/ CPAN_used/SQL
mkdir -p CPAN_used/Class/C3/ CPAN_used/SQL/ CPAN_used/File/
rm -r CPAN/SQL/Abstract/Limit.pm
cp -rv CPAN/Class/C3/Componentised.pm CPAN_used/Class/C3/
cp -rv CPAN/DBIx CPAN_used/
cp -rv CPAN/File/Next.pm CPAN_used/File/
cp -rv CPAN/Log CPAN_used/
cp -rv CPAN/SQL/* CPAN_used/SQL/
rm -r CPAN