2
0
Fork 0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00
Bash-Snippets/movies/install.sh

7 lines
274 B
Bash
Raw Normal View History

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