mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 06:52:18 +08:00
Update todebian11.sh
This commit is contained in:
parent
66853754a9
commit
eea30430d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user