chiark / gitweb /
Use a local implementation of strptime() instead of broken OS ones
[disorder] / scripts / setup.anjou
CommitLineData
2e6bdcfa
RK
1#! /bin/bash
2#
3# Setup script for local test installs.
4#
5
6set -e
7
8if type gmake >/dev/null 2>&1; then
9 MAKE=gmake
10else
11 MAKE=make
12fi
13
14if type really >/dev/null 2>&1; then
15 REALLY=really
16else
17 REALLY=sudo
18fi
19
20echo --- build ---
21${MAKE}
22echo --- install ---
23${REALLY} ${MAKE} install
24echo --- teardown ---
397a0770 25${REALLY} bash scripts/teardown || true
2e6bdcfa 26echo --- setup ---
397a0770
RK
27${REALLY} bash scripts/setup --root /music \
28 --encoding ISO-8859-1 \
29 --port none \
30 --email rjk@greenend.org.uk \
31 --register y \
32 --play local
2e6bdcfa 33echo --- done ---