1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Files
samba-mirror/source/script/installmisc.sh
Andrew Tridgell 7c2e31fd11 r8314: - added an 'installmisc' target for installing miscellaneous files.
- 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)
2007-10-10 13:20:05 -05:00

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