[mate-file-manager] fix scriptlet issue

leigh123linux leigh123linux at fedoraproject.org
Mon Oct 29 11:09:27 UTC 2012


commit d3594b9c5d7e5fc76e52e8e05caa2ad27a3291ae
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Oct 29 11:09:20 2012 +0000

    fix scriptlet issue

 mate-file-manager.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mate-file-manager.spec b/mate-file-manager.spec
index b72dfed..9c4e0e9 100644
--- a/mate-file-manager.spec
+++ b/mate-file-manager.spec
@@ -139,8 +139,9 @@ desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mate-network-sche
 if [ $1 -eq 0 ]; then
   /bin/touch --no-create %{_datadir}/icons/mate >&/dev/null || :
   /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 fi
-/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
 /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %posttrans


More information about the scm-commits mailing list