feat: support for debian 12, drop support for debian 11.

This commit is contained in:
Alexandre Pujol 2023-06-18 11:44:56 +01:00
parent a78f6c7757
commit a1946aa171
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 2 additions and 97 deletions

View file

@ -28,7 +28,6 @@ type BuildFunc func(string) string
// Set complain flag on all profiles
func BuildComplain(profile string) string {
flags := []string{}
matches := regFlag.FindStringSubmatch(profile)
if len(matches) != 0 {
@ -58,8 +57,3 @@ func BuildUserspace(profile string) string {
}
return profile
}
// Remove abi header for distributions that do not support it
func BuildABI(profile string) string {
return regABI.ReplaceAllLiteralString(profile, "")
}