build(debian): fix a few lintian issues.

This commit is contained in:
Alexandre Pujol 2024-03-01 00:17:19 +00:00
parent 86898ec673
commit 81c55160e6
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
3 changed files with 11 additions and 3 deletions

View File

@ -3,8 +3,10 @@
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io> # Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
set -e
#DEBHELPER# #DEBHELPER#
systemctl is-active -q apparmor && systemctl reload apparmor || : systemctl is-active -q apparmor && systemctl reload apparmor
exit 0 exit 0

View File

@ -3,8 +3,10 @@
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io> # Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
set -e
#DEBHELPER# #DEBHELPER#
systemctl is-active -q apparmor && systemctl reload apparmor ||: systemctl is-active -q apparmor && systemctl reload apparmor
exit 0 exit 0

6
debian/control vendored
View File

@ -14,6 +14,10 @@ Rules-Requires-Root: no
Package: apparmor.d Package: apparmor.d
Architecture: any Architecture: any
Depends: apparmor-profiles Depends:
apparmor-profiles,
${shlibs:Depends}
Conflicts: apparmor-profiles-extra Conflicts: apparmor-profiles-extra
Description: Full set of AppArmor profiles (~ 1500 profiles) Description: Full set of AppArmor profiles (~ 1500 profiles)
apparmor.d is a set of over 1500 AppArmor profiles whose aim is to confine
most Linux based applications and processes.