blob: 082a01eee96d81f8bfe2d1cd28523bf524fca050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
# install miscellaneous files
SRCDIR="$1"
JSDIR="$2"
SETUPDIR="$3"
BINDIR="$4"
cd $SRCDIR || exit 1
echo "Installing js libs"
mkdir -p $JSDIR || exit 1
cp scripting/libjs/*.js $JSDIR || exit 1
echo "Installing setup templates"
mkdir -p $SETUPDIR || exit 1
cp setup/*.ldif $SETUPDIR || exit 1
cp setup/*.zone $SETUPDIR || exit 1
cp setup/*.conf $SETUPDIR || exit 1
echo "Installing script tools"
mkdir -p "$BINDIR"
rm -f scripting/bin/*~
cp scripting/bin/* $BINDIR/ || exit 1
exit 0
|