Created
March 8, 2012 20:00
-
-
Save hugoduncan/2003077 to your computer and use it in GitHub Desktop.
install-deb action
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
(action/def-bash-action install-deb | |
"Install a deb file. Source options are as for remote file." | |
[request deb-name & {:as options}] | |
(stevedore/do-script | |
(apply remote-file* request deb-name (apply concat options)) | |
(stevedore/checked-script | |
(format "Install deb %s" deb-name) | |
(dpkg -i --skip-same-version ~deb-name)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment