Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 337 Bytes
dep "quantal apt source" do
setup {
@list = "/etc/apt/sources.list.d/quantal.list"
}
met? {
File.exist? @list
}
meet {
sudo "tee #{@list}", :input => <<-EOF
deb http://archive.ubuntu.com/ubuntu quantal main
deb http://archive.ubuntu.com/ubuntu quantal universe
EOF
}
after {
sudo "aptitude update"
}
end