summaryrefslogtreecommitdiff
path: root/source4/script/installmisc.sh
blob: 580dc855d454932a1e63afea64f771114db00686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# install miscellaneous files

SRCDIR=$1
LIBDIR=$2

cd $SRCDIR || exit 1

echo "Installing js libs"
mkdir -p $LIBDIR/js || exit 1
cp scripting/libjs/*.js $LIBDIR/js || exit 1

echo "Installing setup templates"
mkdir -p $LIBDIR/setup || exit 1
cp setup/*.ldif $LIBDIR/setup || exit 1
cp setup/*.zone $LIBDIR/setup || exit 1
cp setup/*.conf $LIBDIR/setup || exit 1

exit 0