更新 ubuntu-source-aliyun.sh

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

View File

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