added install.sh

This commit is contained in:
Martinez 2017-10-10 10:30:02 +02:00
parent c8a4ebbbde
commit c43d957384
2 changed files with 11 additions and 2 deletions

9
install.sh Executable file
View file

@ -0,0 +1,9 @@
#! /bin/bash
ROOT="${1}"
DIR="${ROOT}/usr/lib/over/hex"
BIN="over-hex"
mkdir -p "${DIR}"
cp *.py "${DIR}"
ln -s "${DIR}/${BIN}.py" "${ROOT}/usr/bin/${BIN}"