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 "错误:不支持的操作系统"