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

@ -12,11 +12,14 @@ DISTRIBUTION="$(_lsb_release)"
cd "$HOME/Projects/apparmor.d" cd "$HOME/Projects/apparmor.d"
case "$DISTRIBUTION" in case "$DISTRIBUTION" in
arch) make pkg ;; arch) make pkg ;;
debian | ubuntu | whonix) debian | ubuntu | whonix)
sudo rm -rf debian/.debhelper/
make dpkg make dpkg
sudo rm -rf debian/.debhelper/ 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 esac