build(debian): improve post install scripts.

This commit is contained in:
Alexandre Pujol 2025-08-15 19:49:43 +02:00
parent e805509803
commit ca24da7a2a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 8 additions and 2 deletions

View file

@ -7,6 +7,9 @@ set -e
#DEBHELPER# #DEBHELPER#
systemctl is-active -q apparmor && systemctl reload apparmor ||: apparmor_parser --purge-cache
if systemctl is-active -q apparmor; then
systemctl reload apparmor
fi
exit 0 exit 0

View file

@ -7,6 +7,9 @@ set -e
#DEBHELPER# #DEBHELPER#
systemctl is-active -q apparmor && systemctl reload apparmor ||: apparmor_parser --purge-cache
if systemctl is-active -q apparmor; then
systemctl reload apparmor
fi
exit 0 exit 0