From c2ecea64418c19c531d7eb8923da8b67a8e055b8 Mon Sep 17 00:00:00 2001 From: Oxmix Date: Thu, 5 Oct 2023 05:30:18 +0300 Subject: [PATCH] add apt armor --- deployment/deployment.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/deployment.go b/deployment/deployment.go index fbe9f6b..6481022 100644 --- a/deployment/deployment.go +++ b/deployment/deployment.go @@ -73,6 +73,7 @@ func (d *Deployment) CargoShell() []byte { function install { if [[ $(uname) == 'Linux' ]]; then if ! command -v $1 &> /dev/null; then + echo "• Install $2" sudo apt update sudo apt -y install $2 fi @@ -80,8 +81,8 @@ function install { } -echo "• Install docker.io" install docker docker.io +install apparmor_status apparmor echo "• Pull oxmix/cargo-deployer" docker pull oxmix/cargo-deployer:` + u.Env().CargoVersion + `