diff --git a/tests/packer/src/aa-update b/tests/packer/src/aa-update index f2cd5ff1..4d0340f2 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