[wordpress/el6: 1/3] Wrong target of moving wp-content/

Matej Cepl mcepl at fedoraproject.org
Thu Jun 2 12:33:38 UTC 2011


commit 8d0c209d53a7dfc1685a9c8e21d12f9003f08e0c
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Thu Jun 2 12:16:05 2011 +0200

    Wrong target of moving wp-content/

 wordpress.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wordpress.spec b/wordpress.spec
index 5c3b428..41ea9de 100644
--- a/wordpress.spec
+++ b/wordpress.spec
@@ -82,8 +82,8 @@ mv -v ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-content/ \
 if [ $1 -eq 2 ] ; then
 # In case user has old wp-content from previous version, move it to
 # the new location.
-mv -v %{_datadir}/wordpress/wp-content/* \
-  %{_localstatedir}/www/wordpress/wp-content/
+mv -vf %{_datadir}/wordpress/wp-content/* \
+  %{_localstatedir}/www/wordpress/
 /sbin/restorecon -R %{_localstatedir}/www/wordpress/
 fi
 


More information about the scm-commits mailing list