test(packer): update aa-update script.

This commit is contained in:
Alexandre Pujol 2023-12-05 20:49:16 +00:00
parent 735e3529fb
commit c52f7f0b1f
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -14,8 +14,11 @@ cd "$HOME/Projects/apparmor.d"
case "$DISTRIBUTION" in
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 ;;
*) ;;