#!/bin/sh set -eu tempdir="$(mktemp -d)" readonly tempdir ( cd "${tempdir}" git clone https://github.com/thek4n/note.git . sudo PREFIX=/usr make install ) rm -rf "${tempdir}"