From 81c55160e69f73df074efdc12412f561db8f7a8e Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 1 Mar 2024 00:17:19 +0000 Subject: [PATCH] build(debian): fix a few lintian issues. --- debian/apparmor.d.postinst | 4 +++- debian/apparmor.d.postrm | 4 +++- debian/control | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/apparmor.d.postinst b/debian/apparmor.d.postinst index 6d367df3e..245c7ec60 100644 --- a/debian/apparmor.d.postinst +++ b/debian/apparmor.d.postinst @@ -3,8 +3,10 @@ # Copyright (C) 2021-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only +set -e + #DEBHELPER# -systemctl is-active -q apparmor && systemctl reload apparmor || : +systemctl is-active -q apparmor && systemctl reload apparmor exit 0 diff --git a/debian/apparmor.d.postrm b/debian/apparmor.d.postrm index cc98228a1..245c7ec60 100644 --- a/debian/apparmor.d.postrm +++ b/debian/apparmor.d.postrm @@ -3,8 +3,10 @@ # Copyright (C) 2021-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only +set -e + #DEBHELPER# -systemctl is-active -q apparmor && systemctl reload apparmor ||: +systemctl is-active -q apparmor && systemctl reload apparmor exit 0 diff --git a/debian/control b/debian/control index 86bbde7af..a93c56280 100644 --- a/debian/control +++ b/debian/control @@ -14,6 +14,10 @@ Rules-Requires-Root: no Package: apparmor.d Architecture: any -Depends: apparmor-profiles +Depends: + apparmor-profiles, + ${shlibs:Depends} Conflicts: apparmor-profiles-extra 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.