[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5230-gd235881

John Terpstra jht at samba.org
Mon Apr 20 15:07:25 GMT 2009


The branch, v3-3-test has been updated
       via  d235881c9f3e5d14beb2ebcfa2e4a7d18e890784 (commit)
      from  8775968526046f040a2e6ba8697d719b5e3bced8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit d235881c9f3e5d14beb2ebcfa2e4a7d18e890784
Author: John H Terpstra <jht at dv1000.dyn.terpstra-world.org>
Date:   Mon Apr 20 10:06:33 2009 -0500

    Added ability to revert to old modules for make revert.

-----------------------------------------------------------------------

Summary of changes:
 source/script/installmodules.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/script/installmodules.sh b/source/script/installmodules.sh
index f70db00..127091d 100755
--- a/source/script/installmodules.sh
+++ b/source/script/installmodules.sh
@@ -29,6 +29,11 @@ mtype=`basename $LIBDIR`
 for p in $*; do
  p2=`basename $p`
  name=`echo $p2 | sed -es/${mtype}_//`
+ echo Preserving old module as $DESTDIR/$LIBDIR/$name.old
+ if [ -f $DESTDIR/$LIBDIR/$name ]; then
+   rm -f $DESTDIR/$LIBDIR/$name.old
+   mv $DESTDIR/$LIBDIR/$name $DESTDIR/$LIBDIR/$name.old
+ fi
  echo Installing $p as $DESTDIR/$LIBDIR/$name
  cp -f $p $DESTDIR/$LIBDIR/$name
  chmod $INSTALLPERMS $DESTDIR/$LIBDIR/$name


-- 
Samba Shared Repository


More information about the samba-cvs mailing list