From 3857d3693a2c14917df88f4338ac9b78abba9ca1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Feb 2006 18:41:35 +0000 Subject: [PATCH] r13514: fix small glitch in the update procedure from /var/cache/samba mishap --- packaging/RHEL/samba.spec.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl index fe3551994d1..f5302a87a72 100644 --- a/packaging/RHEL/samba.spec.tmpl +++ b/packaging/RHEL/samba.spec.tmpl @@ -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