Update todebian11.sh

This commit is contained in:
spiritLHLS 2023-02-25 19:35:45 +08:00 committed by GitHub
parent 66853754a9
commit eea30430d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,13 +44,13 @@ else
exit 0
fi
apt update
apt upgrade -y
apt full-upgrade -y
apt-get update
apt-get upgrade -y
apt-get full-upgrade -y
# 清理系统
apt autoremove -y
apt autoclean
apt-get autoremove -y
apt-get autoclean
# 备份系统配置文件
cp -r /etc $BACKUP_DIR