install-ag.sh 156 B

123456789
  1. #!/usr/bin/env bash
  2. #
  3. set -ex
  4. [[ $(uname) = Linux ]] || exit 1
  5. [[ $USER = root ]] || exit 1
  6. apt-get update
  7. apt-get --assume-yes install silversearcher-ag