Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 912 Bytes

File metadata and controls

26 lines (20 loc) · 912 Bytes

tools

KIRA Tools

Dependencies

VERSION="v0.0.8.0" && cd /tmp && rm -fv ./bash-utils.sh && \
CHECKSUM="1cfb806eec03956319668b0a4f02f2fcc956ed9800070cda1870decfe2e6206e" && \
wget https://github.com/KiraCore/tools/releases/download/$VERSION/bash-utils.sh -O ./bash-utils.sh && \
    FILE_HASH=$(sha256sum ./bash-utils.sh | awk '{ print $1 }' | xargs || echo -n "") && \
    [ "$FILE_HASH" == "$CHECKSUM" ] && chmod -v 555 ./bash-utils.sh && \
    ./bash-utils.sh bashUtilsSetup "/var/kiraglob" && . /etc/profile && \
    bash-utils loadGlobEnvs && utils echoInfo "SUCCESS: bash-utils $(bash-utils bashUtilsVersion) were installed!" || \
    echo "ERROR: Invalid checksum '$FILE_HASH' or bashUtilsSetup failed"

Build

# set env variable to your local repos (will vary depending on the user)
setGlobEnv TOOLS_REPO "/mnt/c/Users/asmodat/Desktop/KIRA/GITHUB/tools"

cd $TOOLS_REPO

make build