#!/bin/sh # script/update: Update application to run for its current checkout. cat script/misc/oteascii.txt set -e cd $GOPATH/src/gitote/gitote echo "==> Pulling Latest version of Gitote" git pull origin master echo "==> Starting PostgreSQL Database" sudo systemctl restart postgresql echo "==> Building…" make bindata make less go build echo "==> Restarting Gitote Service…" sudo systemctl restart gitote