From 914e4e1b7b22599531d3b8c5906d5019897eb006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 30 Oct 2023 21:10:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20Debian=20apt=20?= =?UTF-8?q?=E5=8D=B8=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/fail2ban/uninstall.sh | 2 +- scripts/s3fs/uninstall.sh | 2 +- scripts/supervisor/uninstall.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/fail2ban/uninstall.sh b/scripts/fail2ban/uninstall.sh index 04f3dd27..2ea75013 100644 --- a/scripts/fail2ban/uninstall.sh +++ b/scripts/fail2ban/uninstall.sh @@ -29,7 +29,7 @@ systemctl disable fail2ban if [ "${OS}" == "centos" ]; then dnf remove -y fail2ban elif [ "${OS}" == "debian" ]; then - apt-get install -y fail2ban + apt-get purge -y fail2ban else echo -e $HR echo "错误:不支持的操作系统" diff --git a/scripts/s3fs/uninstall.sh b/scripts/s3fs/uninstall.sh index 0976c4d4..9d806a3e 100644 --- a/scripts/s3fs/uninstall.sh +++ b/scripts/s3fs/uninstall.sh @@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || if [ "${OS}" == "centos" ]; then dnf remove -y s3fs-fuse elif [ "${OS}" == "debian" ]; then - apt-get remove -y s3fs + apt-get purge -y s3fs else echo -e $HR echo "错误:不支持的操作系统" diff --git a/scripts/supervisor/uninstall.sh b/scripts/supervisor/uninstall.sh index fd5add0b..05196dbd 100644 --- a/scripts/supervisor/uninstall.sh +++ b/scripts/supervisor/uninstall.sh @@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || if [ "${OS}" == "centos" ]; then dnf remove -y supervisor elif [ "${OS}" == "debian" ]; then - apt-get remove -y supervisor + apt-get purge -y supervisor else echo -e $HR echo "错误:不支持的操作系统"