#!/bin/sh # install hbd/hbc from wheel and create symlinks for hbd and hbc in ~/bin set -e if [ ! -d ~/venvs/hbd ]; then mkdir -p ~/venvs python3 -m venv ~/venvs/hbd fi . ~/venvs/hbd/bin/activate pip install 'git+ssh://git@git.wrede.ca/andreas/heartbeat.git' rm -f ~/bin/hbd rm -f ~/bin/hbc ln -sf $(which hbd) ~/bin/hbd ln -sf $(which hbc) ~/bin/hbc