view update.sh @ 13:94b5c7b54978

rm only logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 28 Jul 2022 16:23:57 +0300
parents c560b4e2f056
children 49461857ed79
line wrap: on
line source

#!/bin/bash -e

. common.sh;

echo Updating hg
/usr/local/bin/hg pull -u

./stop.sh

mkdir -p logs/repos
rm -f logs/*.log
rm -f logs/repos/*.log
hg identify >logs/changeset.txt

${ROOTPWD}/luan.sh update_repositories.luan

./start.sh