view update.sh @ 28:cfedb3f6cbac default tip

prevent infinite .0s at end of log backup filenames
author Violet7
date Mon, 23 Feb 2026 18:08:44 -0800
parents 49461857ed79
children
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