Created
June 15, 2014 15:30
-
-
Save spikensbror/33839238eda69571c58f to your computer and use it in GitHub Desktop.
Upgrades a debian install's repositories to testing.
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
#!/bin/bash | |
cp /etc/apt/sources.list{,.bak} | |
sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list | |
apt-get update | |
apt-get --download-only dist-upgrade | |
apt-get dist-upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment