2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-08 10:34:38 +08:00

feat: 优化 Debian apt 卸载

This commit is contained in:
耗子
2023-10-30 21:10:04 +08:00
parent 2fd37af6ea
commit 914e4e1b7b
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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