mirror of
https://github.com/samba-team/samba.git
synced 2025-11-11 00:23:51 +03:00
- install our provisioning template files in lib/setup/ We need these to be installed as users may wish to re-provision after installation, or may not have the source tree (wuch as when installing from binary packages)
20 lines
381 B
Bash
Executable File
20 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
# install miscellaneous files
|
|
|
|
SRCDIR=$1
|
|
LIBDIR=$2
|
|
|
|
cd $SRCDIR || exit 1
|
|
|
|
echo "Installing js libs"
|
|
mkdir -p $LIBDIR/js || exit 1
|
|
cp scripting/libjs/*.js $LIBDIR/js || exit 1
|
|
|
|
echo "Installing setup templates"
|
|
mkdir -p $LIBDIR/setup || exit 1
|
|
cp setup/*.ldif $LIBDIR/setup || exit 1
|
|
cp setup/*.zone $LIBDIR/setup || exit 1
|
|
cp setup/*.conf $LIBDIR/setup || exit 1
|
|
|
|
exit 0
|