added install.sh

This commit is contained in:
Martinez 2017-10-10 10:44:57 +02:00
parent f1b7600d4e
commit 89e8deeb65
2 changed files with 12 additions and 1 deletions

11
install.sh Executable file
View file

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