diff options
-rw-r--r-- | packaging/RHEL/samba.spec.tmpl | 3 |
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 |