5 BASEDIR
=`echo $3 | sed 's/\/\//\//g'`
6 BINDIR
=`echo $4 | sed 's/\/\//\//g'`
7 LIBDIR
=`echo $5 | sed 's/\/\//\//g'`
8 VARDIR
=`echo $6 | sed 's/\/\//\//g'`
18 echo Installing
$p as
$BINDIR/$p2
19 if [ -f $BINDIR/$p2 ]; then
21 mv $BINDIR/$p2 $BINDIR/$p2.old
24 chmod $INSTALLPERMS $BINDIR/$p2
26 # this is a special case, mount needs this in a specific location
27 if [ $p2 = smbmount
]; then
28 if [ ! -d $DESTDIR/sbin
]; then
31 ln -sf $BINDIR/$p2 $DESTDIR/sbin
/mount.smbfs
37 ======================================================================
38 The binaries are installed. You may restore the old binaries (if there
39 were any) using the command "make revert". You may uninstall the binaries
40 using the command "make uninstallbin" or "make uninstall" to uninstall
41 binaries, man pages and shell scripts.
42 ======================================================================