Bash-Snippets/crypt/install.sh

7 lines
271 B
Bash
Executable File

#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
echo -n "Installing crypt: "
chmod a+x crypt
cp crypt /usr/local/bin > /dev/null 2>&1 || { echo "Failure"; echo "Error copying file, try running install script as sudo"; exit 1; }
echo "Success"