Created
January 18, 2013 01:02
-
-
Save chrisroberts/4561413 to your computer and use it in GitHub Desktop.
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
pitti = resources(:apt_repository => 'pitti-postgresql-ppa') | |
pitti.run_action(:add) | |
if(pitti.updated_by_last_action?) | |
execute('pitti apt-get update'){ command 'apt-get update' }.run_action(:run) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment