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:
@@ -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 "错误:不支持的操作系统"
|
||||
|
||||
@@ -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 "错误:不支持的操作系统"
|
||||
|
||||
@@ -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 "错误:不支持的操作系统"
|
||||
|
||||
Reference in New Issue
Block a user