dev/chroot-test/action/refresh-auth
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 24 Jul 2012 10:48:17 -0700
changeset 350 bb7ee0a13ea9
parent 329 11db65f65fa7
permissions -rwxr-xr-x
Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
283
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
set -e
01eca64f77ab Break out all the stuff that needs to be different for Debian into separate files
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     5
. /action/env
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     6
329
11db65f65fa7 Default to non-deb based test
Paul Crowley <paul@lshift.net>
parents: 326
diff changeset
     7
if ${CHROOT_TEST_INSTALLDEB:-false} ; then
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     8
    /usr/share/mercurial-server/refresh-auth
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
     9
else
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
    10
    /usr/local/share/mercurial-server/refresh-auth
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 285
diff changeset
    11
fi