Fix very old bug in ASQ
[Samba/ekacnet.git] / source4 / script / installmisc.sh
blob2bd34b119f34483929616da1f68be2cfe2f1723a
1 #!/bin/sh
2 # install miscellaneous files
4 SRCDIR="$1"
5 SETUPDIR="$2"
7 cd $SRCDIR || exit 1
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
27 exit 0