mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-03 08:45:06 +01:00
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"
|
||||
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 ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
sudo rm -rf /etc/apparmor/earlypolicy/
|
||||
sudo systemctl restart apparmor || sudo systemctl status apparmor
|
||||
|
|
Loading…
Reference in a new issue