Created
January 3, 2016 21:20
-
-
Save lgoldstien/4d841daea55618d22dec to your computer and use it in GitHub Desktop.
Enable any disabled apt repositories after dist update in ubuntu
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
| #!/usr/bin/env bash | |
| for f in /etc/apt/sources.list.d/*.save; do | |
| echo "Processing $f file.."; | |
| sudo mv $f ${f::-5} | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment