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
397 B

  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. mkdir /source
  8. curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /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/*