From d6c44a704e9a138dba8398f45e9af2601826f659 Mon Sep 17 00:00:00 2001 From: "Timur I. Bakeyev" Date: Sun, 12 Jul 2009 23:36:08 +0000 Subject: Add ad-schema/*.txt and utils to the installmisc.sh Install other useful scripts from the setup/ directory, not only provisioning ones. Also install setup/ad-schema/*.txt files to the SETUPDIR. These are necessary for 'provision' to work properly. --- source4/script/installmisc.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 2bd34b119f..0666ae1ade 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -8,11 +8,15 @@ cd $SRCDIR || exit 1 echo "Installing setup templates" mkdir -p $SETUPDIR || exit 1 +mkdir -p $SETUPDIR/ad-schema || exit 1 +cp setup/ad-schema/*.txt $SETUPDIR/ad-schema || exit 1 +for p in enableaccount newuser provision provision-backend setexpiry setpassword +do + chmod 0555 setup/$p + cp setup/$p $SETUPDIR || exit 1 +done cp setup/schema-map-* $SETUPDIR || exit 1 cp setup/DB_CONFIG $SETUPDIR || exit 1 -cp setup/provision-backend $SETUPDIR || exit 1 -cp setup/provision $SETUPDIR || exit 1 -cp setup/newuser $SETUPDIR || exit 1 cp setup/*.inf $SETUPDIR || exit 1 cp setup/*.ldif $SETUPDIR || exit 1 cp setup/*.reg $SETUPDIR || exit 1 -- cgit