annotate backup/update.sh @ 1812:f44dcb3fedf7

docs - add code block
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Jun 2024 14:41:48 -0600
parents 25833dd89844
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1695
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 #!/bin/bash
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 set -e
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 ./stop.sh
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 echo Updating hg
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 hg pull -u
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 ../scripts/build-luan.sh
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 echo Starting...
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 ./start.sh