更新 ubuntu-source-tsinghua.sh

This commit is contained in:
8ga 2025-01-17 22:50:09 +08:00
parent ab967a6d13
commit 49edfed929

View File

@ -1,4 +1,4 @@
#!/bin/bash
rm -rf /etc/apt/sources.list
mv /usr/local/conf/ubuntu_2204-sources-tsinghua.list /etc/apt/sources.list
cp -R /usr/local/conf/ubuntu_2204-sources-tsinghua.list /etc/apt/sources.list
apt update && apt upgrade -y