Insights on Ruby, Git, jQuery, Cappuccino, WordPress, Debian and OS X. Please subscribe if you find something useful!

Getting ready for Lenny

Posted: February 16th, 2009 | Author: Jerod | Filed under: Ruby | Tags: | Comments Off

You don’t need to fire up an editor to switch your APT repositories from Debian 4 (Etch) to Debian 5 (Lenny):

ruby -i -pe '$_.gsub!("etch","lenny")' /etc/apt/sources.lst