navi/scripts/update

10 lines
158 B
Plaintext
Raw Normal View History

2019-09-22 01:27:12 +03:00
#!/usr/bin/env bash
set -euo pipefail
2019-10-11 20:33:16 +03:00
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
2019-09-22 01:27:12 +03:00
2019-10-11 20:33:16 +03:00
cd "$NAVI_HOME"
2019-09-22 01:27:12 +03:00
git pull
2019-10-11 20:33:16 +03:00
"${NAVI_HOME}/scripts/install" || true