mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
2406af1079
('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
39 lines
838 B
Bash
39 lines
838 B
Bash
#!/bin/sh
|
|
|
|
SWATDIR=$1
|
|
SRCDIR=$2
|
|
|
|
echo Installing swat files in $SWATDIR
|
|
|
|
cd $SRCDIR/../swat || exit 1
|
|
|
|
mkdir -p $SWATDIR || exit 1
|
|
|
|
installdir() {
|
|
for f in $*; do
|
|
dname=`dirname $f`
|
|
echo "Installing $f in $dname"
|
|
test -d $SWATDIR/$dname || mkdir -p $SWATDIR/$dname || exit 1
|
|
cp $f $SWATDIR/$dname/ || exit 1
|
|
chmod 0644 $SWATDIR/$f || exit 1
|
|
done
|
|
}
|
|
|
|
installdir `find . -name '*.html'`
|
|
installdir `find . -name '*.js'`
|
|
installdir `find . -name '*.esp'`
|
|
installdir `find . -name '*.css'`
|
|
installdir `find . -name '*.png'`
|
|
installdir `find . -name '*.ico'`
|
|
installdir `find . -name '*.gif'`
|
|
installdir `find . -name '*.ejs'`
|
|
|
|
cat << EOF
|
|
======================================================================
|
|
The swat files have been installed.
|
|
======================================================================
|
|
EOF
|
|
|
|
exit 0
|
|
|