ports/net/samba3/files/patch-script_installbin.sh.in
Jun Kuriyama 16b56ac16c - Upgrade to 3.0.23 (including security fix).
o Improved 'make test'
   o New offline mode in winbindd.
   o New Kerberos support for pam_winbind.so.
   o New handling of unmapped users and groups.
   o New non-root share management tools.
   o Improved support for local and BUILTIN groups.
   o Winbind IDMAP integration with RFC2307 schema objects supported
     by Windows 2003 R2.
   o Rewritten 'net ads join' to mimic Windows XP without requiring
     administrative rights to join a domain.

PR:		ports/100100
Submitted by:	maintainer
2006-07-12 00:16:32 +00:00

15 lines
514 B
Bash

--- script/installbin.sh.in.orig Sun Jun 25 04:08:55 2006
+++ script/installbin.sh.in Sun Jun 25 04:10:00 2006
@@ -13,11 +13,7 @@
for p in $*; do
p2=`basename $p`
echo "Installing $p as $DESTDIR/$BINDIR/$p2 "
- if [ -f $DESTDIR/$BINDIR/$p2 ]; then
- rm -f $DESTDIR/$BINDIR/$p2.old
- mv $DESTDIR/$BINDIR/$p2 $DESTDIR/$BINDIR/$p2.old
- fi
- cp $p $DESTDIR/$BINDIR/
+ cp -f $p $DESTDIR/$BINDIR/
chmod $INSTALLPERMS $DESTDIR/$BINDIR/$p2
# this is a special case, mount needs this in a specific location