fix install.sh
This commit is contained in:
parent
23cd6eeed5
commit
57f5681b35
1 changed files with 6 additions and 4 deletions
10
install.sh
10
install.sh
|
@ -1,9 +1,11 @@
|
|||
#! /bin/bash
|
||||
|
||||
ROOT="${1}"
|
||||
DIR="${ROOT}/usr/lib/over/hex"
|
||||
LIBDIR="${ROOT}/usr/lib/over/hex"
|
||||
BINDIR="${ROOT}/usr/bin"
|
||||
BIN="over-hex"
|
||||
|
||||
mkdir -p "${DIR}"
|
||||
cp *.py "${DIR}"
|
||||
ln -s "${DIR}/${BIN}.py" "${ROOT}/usr/bin/${BIN}"
|
||||
mkdir -p "${LIBDIR}"
|
||||
cp *.py "${LIBDIR}"
|
||||
mkdir -p "${BINDIR}"
|
||||
ln -s "${LIBDIR}/${BIN}.py" "${BINDIR}/${BIN}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue