sh/ubuntu-source-tsinghua.sh

4 lines
144 B
Bash

#!/bin/bash
rm -rf /etc/apt/sources.list
mv /usr/local/conf/ubuntu_2204-sources-tsinghua.list /etc/apt/sources.list
apt update && apt upgrade -y