s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901)
[Samba/gebeck_regimport.git] / source4 / script / installmisc.sh
blob8e3f723ebb24375ff3d63b74d68291810fccfef8
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 mkdir -p $SETUPDIR/ad-schema || exit 1
12 mkdir -p $SETUPDIR/display-specifiers || exit1
13 cp setup/ad-schema/*.txt $SETUPDIR/ad-schema || exit 1
14 cp setup/display-specifiers/*.txt $SETUPDIR/display-specifiers || exit 1
15 for p in enableaccount newuser provision setexpiry setpassword pwsettings
17 chmod a+x setup/$p
18 cp setup/$p $SETUPDIR || exit 1
19 done
20 cp setup/schema-map-* $SETUPDIR || exit 1
21 cp setup/DB_CONFIG $SETUPDIR || exit 1
22 cp setup/*.inf $SETUPDIR || exit 1
23 cp setup/*.ldif $SETUPDIR || exit 1
24 cp setup/*.reg $SETUPDIR || exit 1
25 cp setup/*.zone $SETUPDIR || exit 1
26 cp setup/*.conf $SETUPDIR || exit 1
27 cp setup/*.php $SETUPDIR || exit 1
28 cp setup/*.txt $SETUPDIR || exit 1
29 cp setup/provision.smb.conf.dc $SETUPDIR || exit 1
30 cp setup/provision.smb.conf.member $SETUPDIR || exit 1
31 cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1
33 exit 0