Created
January 4, 2019 12:40
-
-
Save DelightRun/c66d5a7f195710e13de257ba90b1ba52 to your computer and use it in GitHub Desktop.
Replace PPA source with USTC mirror
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec sed -i.bak -r 's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 http\2://launchpad.proxy.ustclug.org#ig' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment