test(packer): ensure aa-update remove old aa cache.
This commit is contained in:
parent
7c7e897d45
commit
8dfd58a335
1 changed files with 6 additions and 3 deletions
|
|
@ -12,14 +12,17 @@ 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/
|
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
|
||||||
|
|
||||||
|
sudo rm -rf /etc/apparmor/earlypolicy/
|
||||||
|
sudo systemctl restart apparmor || sudo systemctl status apparmor
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue