1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/script/installmisc.sh
Jelmer Vernooij 57d079e4b2 r13157: Fix installation of js files
(This used to be commit 2384dec6f2)
2007-10-10 13:51:30 -05:00

27 lines
498 B
Bash
Executable File

#!/bin/sh
# install miscellaneous files
SRCDIR="$1"
JSDIR="$2"
SETUPDIR="$3"
BINDIR="$4"
cd $SRCDIR || exit 1
echo "Installing js libs"
mkdir -p $JSDIR || exit 1
cp scripting/libjs/*.js $JSDIR || exit 1
echo "Installing setup templates"
mkdir -p $SETUPDIR || exit 1
cp setup/*.ldif $SETUPDIR || exit 1
cp setup/*.zone $SETUPDIR || exit 1
cp setup/*.conf $SETUPDIR || exit 1
echo "Installing script tools"
mkdir -p "$BINDIR"
rm -f scripting/bin/*~
cp scripting/bin/* $BINDIR/ || exit 1
exit 0