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

@ -132,14 +132,6 @@ func Configure() (err error) {
if err := copyTo(DistDir.Join("ubuntu"), RootApparmord); err != nil {
return err
}
if Distribution == "ubuntu" {
break
}
// Copy debian specific profiles
if err := copyTo(DistDir.Join("debian"), RootApparmord); err != nil {
return err
}
default:
return fmt.Errorf("%s is not a supported distribution", Distribution)