start to move towards things living where they should and new
break-in system. Big change.
#!/bin/sh
set -e
install -o root -g root -d /usr/local/lib/hg-admin-tools
install -o root -g root -t /usr/local/lib/hg-admin-tools \
access.py hg-ssh refresh-auth ruleset.py hgadmin-hgrc break-in
install -o root -g root -d /etc/hg-admin-tools
install -o root -g root -t /etc/hg-admin-tools hg-ssh-wrapper remote-hgrc
sudo adduser --system --shell /bin/sh --group --disabled-password \
--gecos "Mercurial repositories" hg
sudo -u hg -H ./hginit