Skip to content

Commit

Permalink
fix trimming of /usr/share files
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau committed Dec 12, 2024
1 parent 3257b15 commit 01174bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cbake.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function Remove-CBakeExcludedFiles() {
Remove-Item -Path $ExcludeDir -Recurse -Force -ErrorAction 'SilentlyContinue' | Out-Null
}

Get-ChildItem -Path "/usr/share" -Exclude "pkgconfig" | ForEach-Object {
Remove-Item $_.FullName -Force -Recurse -ErrorAction 'SilentlyContinue' | Out-Null
Get-ChildItem -Path "/usr/share" -Exclude @("pkgconfig", 'dpkg', 'distro-info', 'locale', 'gettext') | ForEach-Object {
#Remove-Item $_.FullName -Force -Recurse -ErrorAction 'SilentlyContinue' | Out-Null
}
}

Expand Down

0 comments on commit 01174bc

Please sign in to comment.