r25056: Install some extra files. Patch from Stefan Gohmann
[Samba.git] / source / script / installmisc.sh
blobd0216aca739482535541011b74d67597cd31566c
1 #!/bin/sh
2 # install miscellaneous files
4 SRCDIR="$1"
5 JSDIR="$2"
6 SETUPDIR="$3"
7 BINDIR="$4"
9 cd $SRCDIR || exit 1
11 echo "Installing js libs"
12 mkdir -p $JSDIR || exit 1
13 cp scripting/libjs/*.js $JSDIR || exit 1
15 echo "Installing setup templates"
16 mkdir -p $SETUPDIR || exit 1
17 cp setup/schema-map-* $SETUPDIR || exit 1
18 cp setup/DB_CONFIG $SETUPDIR || exit 1
19 cp setup/upgrade $SETUPDIR || exit 1
20 cp setup/provision-backend $SETUPDIR || exit 1
21 cp setup/provision $SETUPDIR || exit 1
22 cp setup/newuser $SETUPDIR || exit 1
23 cp setup/*.inf $SETUPDIR || exit 1
24 cp setup/*.ldif $SETUPDIR || exit 1
25 cp setup/*.reg $SETUPDIR || exit 1
26 cp setup/*.zone $SETUPDIR || exit 1
27 cp setup/*.conf $SETUPDIR || exit 1
29 echo "Installing script tools"
30 mkdir -p "$BINDIR"
31 rm -f scripting/bin/*~
32 cp scripting/bin/* $BINDIR/ || exit 1
34 exit 0