You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
421 B

10 years ago
10 years ago
  1. #! /bin/bash
  2. # exit if a command fails
  3. set -e
  4. # install curl (needed to install rust)
  5. apt-get update && apt-get install -y curl
  6. # download
  7. curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp
  8. mv /tmp/beanstalk_console-master /source
  9. # cleanup package manager
  10. apt-get remove --purge -y curl && apt-get autoclean && apt-get clean
  11. rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*