annotate backup/update.sh @ 1695:25833dd89844

add backup/update.sh
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 20 Jun 2022 16:37:23 -0600
parents
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