Skip to content

Commit

Permalink
importer: Allow /usr/local RPM content
Browse files Browse the repository at this point in the history
Obviously, this alone is not enough to expose that content but it's a
start. Currently as is, it'll get nuked when we replace `/usr/local` by
a symlink in postprocessing. A future patch will address that part.

Part of #233.
  • Loading branch information
jlebon committed Dec 14, 2023
1 parent 01b491a commit e73391e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ fn path_is_ostree_compliant(path: &str) -> bool {
return true;
}

if path.starts_with("/usr/") && !path.starts_with("/usr/local") {
if path.starts_with("/usr/") {
return true;
}

Expand Down

0 comments on commit e73391e

Please sign in to comment.