feat: add firejailed support
All checks were successful
Pre-commit / pre-commit (pull_request) Successful in 7m40s

This commit is contained in:
2025-06-15 16:07:54 +03:00
parent d1fe02fa57
commit 7a1e37b6d0
9 changed files with 634 additions and 13 deletions

View File

@@ -154,6 +154,12 @@ func buildContents(vars *alrsh.Package, dirs types.Directories, preferedContents
return contents, nil
}
func normalizeContents(contents []*files.Content) {
for _, content := range contents {
content.Destination = filepath.Join("/", content.Destination)
}
}
var RegexpALRPackageName = regexp.MustCompile(`^(?P<package>[^+]+)\+alr-(?P<repo>.+)$`)
func getBasePkgInfo(vars *alrsh.Package, input interface {