summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-15 18:41:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:08 -0500
commitca5efdc66af2e72b5031b66d19817cc232e9e8cf (patch)
tree2036b042232ff217874949f1b45d08156a7be1dd
parent28d12c3b9dc07733f3dc5290c68d372ed339dfda (diff)
downloadsamba-ca5efdc66af2e72b5031b66d19817cc232e9e8cf.tar.gz
samba-ca5efdc66af2e72b5031b66d19817cc232e9e8cf.tar.bz2
samba-ca5efdc66af2e72b5031b66d19817cc232e9e8cf.zip
r13514: fix small glitch in the update procedure from /var/cache/samba mishap
(This used to be commit 3857d3693a2c14917df88f4338ac9b78abba9ca1)
-rw-r--r--packaging/RHEL/samba.spec.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index fe3551994d..f5302a87a7 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