From ca859238550baeda2e18562f64616c1b69721aa1 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 22 Jan 2021 09:34:08 +0000 Subject: [PATCH] add purge --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 8fb25d43..32623709 100644 --- a/update.sh +++ b/update.sh @@ -214,7 +214,7 @@ EOF if [[ $rmsalt == "y" ]]; then printf >&2 "${Green}Removing salt-master and salt-api${NC}\n" for i in salt-api salt-master; do sudo systemctl stop $i; sudo systemctl disable $i; done - sudo apt remove -y salt-master salt-api + sudo apt remove -y --purge salt-master salt-api salt-common else sudo systemctl stop salt-api sudo systemctl disable salt-api