mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
68453d1da2
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.
With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:
JSON/qooxdoo -> ldb browser
Derrell
(This used to be commit 2406af1079
)
33 lines
647 B
Bash
33 lines
647 B
Bash
#!/bin/sh
|
|
|
|
SERVICESDIR=$1
|
|
SRCDIR=$2
|
|
|
|
echo Installing JSON-RPC services in $SERVICESDIR
|
|
|
|
cd $SRCDIR/../services || exit 1
|
|
|
|
mkdir -p $SERVICESDIR || exit 1
|
|
|
|
installdir() {
|
|
for f in $*; do
|
|
dname=`dirname $f`
|
|
echo "Installing $f in $dname"
|
|
test -d $SERVICESDIR/$dname || mkdir -p $SERVICESDIR/$dname || exit 1
|
|
cp $f $SERVICESDIR/$dname/ || exit 1
|
|
chmod 0644 $SERVICESDIR/$f || exit 1
|
|
done
|
|
}
|
|
|
|
installdir `find . -name '*.esp'`
|
|
|
|
cat << EOF
|
|
======================================================================
|
|
The JSON-RPC services have been installed.
|
|
======================================================================
|
|
EOF
|
|
|
|
|
|
exit 0
|
|
|