Created
May 2, 2016 11:21
-
-
Save andrewsolomon/8efab606e6485f2624afb9a7f84fd467 to your computer and use it in GitHub Desktop.
shellinabox task
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
task "shellinabox", group => "ebox", sub { | |
say "UPTO 1"; | |
file "/tmp/shellinabox.deb", | |
source => "deb/shellinabox_2.19_amd64.deb"; | |
say "UPTO 2"; | |
sudo sub { | |
run 'dpkg shellinabox', | |
command => 'dpkg -i /tmp/shellinabox.deb'; | |
}; | |
say "UPTO 3"; | |
sudo sub { | |
run 'apt-get clean-up', | |
command => 'apt-get -f install'; | |
}; | |
say "UPTO 4"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment