Add Debian packaging.
This commit is contained in:
parent
646cbec874
commit
b6ac70f80d
11 changed files with 74 additions and 1 deletions
5
configure
vendored
5
configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue