From c52f7f0b1f6250bc958c32940e69dba28068f3e5 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 5 Dec 2023 20:49:16 +0000 Subject: [PATCH] test(packer): update aa-update script. --- tests/packer/src/aa-update | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/packer/src/aa-update b/tests/packer/src/aa-update index f2cd5ff10..4d0340f20 100644 --- a/tests/packer/src/aa-update +++ b/tests/packer/src/aa-update @@ -12,11 +12,14 @@ DISTRIBUTION="$(_lsb_release)" cd "$HOME/Projects/apparmor.d" case "$DISTRIBUTION" in -arch) make pkg ;; +arch) make pkg ;; debian | ubuntu | whonix) + sudo rm -rf debian/.debhelper/ make dpkg sudo rm -rf debian/.debhelper/ + sudo rm -rf /etc/apparmor/earlypolicy/ + sudo systemctl restart apparmor || sudo systemctl status apparmor ;; -opensuse*) make rpm ;; +opensuse*) make rpm ;; *) ;; esac