Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
[ira/wip.git] / source4 / script / installmisc.sh
1 #!/bin/sh
2 # install miscellaneous files
3
4 SRCDIR="$1"
5 SETUPDIR="$2"
6
7 cd $SRCDIR || exit 1
8
9 echo "Installing setup templates"
10 mkdir -p $SETUPDIR || exit 1
11 cp setup/schema-map-* $SETUPDIR || exit 1
12 cp setup/DB_CONFIG $SETUPDIR || exit 1
13 cp setup/provision-backend $SETUPDIR || exit 1
14 cp setup/provision $SETUPDIR || exit 1
15 cp setup/newuser $SETUPDIR || exit 1
16 cp setup/*.inf $SETUPDIR || exit 1
17 cp setup/*.ldif $SETUPDIR || exit 1
18 cp setup/*.reg $SETUPDIR || exit 1
19 cp setup/*.zone $SETUPDIR || exit 1
20 cp setup/*.conf $SETUPDIR || exit 1
21 cp setup/*.php $SETUPDIR || exit 1
22 cp setup/*.txt $SETUPDIR || exit 1
23 cp setup/provision.smb.conf.dc $SETUPDIR || exit 1
24 cp setup/provision.smb.conf.member $SETUPDIR || exit 1
25 cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1
26
27 exit 0