diff --git a/install.sh b/install.sh index 699476f..227cea4 100755 --- a/install.sh +++ b/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}"