Wrong target of moving wp-content/

This commit is contained in:
Matěj Cepl 2011-06-02 12:16:05 +02:00
commit 8d0c209d53

View file

@ -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