mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
test(packer): update aa-update script.
This commit is contained in:
parent
735e3529fb
commit
c52f7f0b1f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user