Created
September 22, 2019 23:13
-
-
Save frankIT/21c36887cfbf3897063fe02b980dece3 to your computer and use it in GitHub Desktop.
change distro release codename to all apt config files
This file contains 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 | |
for f in $(grep -Ril stretch "/etc/apt/sources.list.d/"); | |
do sudo sed -i 's/stretch/buster/g' "$f"; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment