summaryrefslogtreecommitdiff
path: root/source/script/installbin.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-13 13:27:58 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-13 13:27:58 +0000
commit453a822a76780063dff23526c35408866d0c0154 (patch)
tree804feffcd5e60153e27d3ca2b007021e66e5bd0a /source/script/installbin.sh
parent054195df9b6187c663ede5cf4489499abbdc29fc (diff)
downloadsamba-453a822a76780063dff23526c35408866d0c0154.tar.gz
first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
Diffstat (limited to 'source/script/installbin.sh')
-rwxr-xr-xsource/script/installbin.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/script/installbin.sh b/source/script/installbin.sh
index 22771ce5a07..69cca942953 100755
--- a/source/script/installbin.sh
+++ b/source/script/installbin.sh
@@ -26,10 +26,16 @@ for p in $*; do
p2=`basename $p`
echo Installing $p as $BINDIR/$p2
if [ -f $BINDIR/$p2 ]; then
+ rm -f $BINDIR/$p2.old
mv $BINDIR/$p2 $BINDIR/$p2.old
fi
cp $p $BINDIR/
chmod $INSTALLPERMS $BINDIR/$p2
+
+ # this is a special case, mount needs this in a specific location
+ if [ $p2 = smbmount ]; then
+ ln -sf $BINDIR/$p2 /sbin/mount.smbfs
+ fi
done
@@ -43,4 +49,3 @@ binaries, man pages and shell scripts.
EOF
exit 0
-