r13514: fix small glitch in the update procedure from /var/cache/samba mishap
authorGerald Carter <jerry@samba.org>
Wed, 15 Feb 2006 18:41:35 +0000 (18:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:08 +0000 (11:10 -0500)
packaging/RHEL/samba.spec.tmpl

index fe3551994d1e47ada4a0581cfb6e1d143a36e01f..f5302a87a724528ec3e2e5f007ab53c3e02f920d 100644 (file)
@@ -297,9 +297,8 @@ if [ "$1" -eq "2" ]; then
                for file in `ls /var/cache/samba/eventlog/*tdb`; do
                        /bin/cp -up $file /var/lib/samba/eventlog/`basename $file`
                done
+               /bin/mv /var/cache/samba /var/cache/samba.moved
         fi
-
-       /bin/mv /var/cache/samba /var/cache/samba.moved
 fi
 
 %preun