]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- check only on uninstall
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 29 Aug 2008 16:01:03 +0000 (16:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.476

rpm.macros

index 4f204a33ed43c70a75d0063a47b24b33514f39a0..84b3d37865bfe50a727a827bd5bf567cf8e20525 100644 (file)
@@ -519,11 +519,9 @@ fi; }; __spec_install_post_chrpath } } }
 # Requires: GConf2
 #
 %gconf_schema_install() \
-       if [ -x /usr/bin/gconftool-2 ]; then \
-               umask 022; \
-               GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" \\\
-               /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/%{?1}%{!?1:*.schemas} > /dev/null; \
-       fi; \
+       umask 022; \
+       GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" \\\
+       /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/%{?1}%{!?1:*.schemas} > /dev/null; \
 %{nil}
 
 %gconf_schema_uninstall() \
This page took 0.082218 seconds and 4 git commands to generate.