Add Debian packaging.

This commit is contained in:
Alexandre Pujol 2021-04-03 23:22:09 +01:00
parent 646cbec874
commit b6ac70f80d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 74 additions and 1 deletions

5
configure vendored
View file

@ -83,7 +83,10 @@ generate() {
[[ "$profile" =~ ^\# ]] && continue
path="${ROOT:?}/apparmor.d/profiles/$profile"
[[ -f "$path" ]] || _die "Profile $profile not found"
if [[ -f "$path" ]]; then
[[ "$DISTRIBUTION" == debian ]] && continue
_die "Profile $profile not found"
fi
# If flags is set, overwrite profile flag
if [[ -n "$flags" ]]; then