]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- unbreak macros being "one command" in shell
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 21 Mar 2008 22:40:11 +0000 (22:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.444

rpm.macros

index 295ca3a388f47aaece4ff36173897ed893557ce8..d8519c0c191dcb05774075dd819d219ce881502b 100644 (file)
@@ -505,35 +505,35 @@ fi; \
 # Update desktop MIME database
 # requires: desktop-file-utils
 #
-%update_desktop_database_post() \
+%update_desktop_database_post() {{\
        umask 022; \
        /usr/bin/update-desktop-database -q; \
-%{nil}
+}}%{nil}
 
-%update_desktop_database_postun() \
+%update_desktop_database_postun() {{\
 if [ "$1" = "0" ]; then \
        umask 022; \
        /usr/bin/update-desktop-database -q; \
 fi; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update shared MIME info database
 # requires: shared-mime-info
 #
-%update_mime_database() \
+%update_mime_database() {{\
        umask 022; \
        /usr/bin/update-mime-database %{_datadir}/mime; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update icon cache
 # requires: gtk+
 #
-%update_icon_cache() \
+%update_icon_cache() {{\
        umask 022; \
        /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/%1; \
-%{nil}
+}}%{nil}
 
 #-----------------------------------------------------------------
 # Update scrollkeeper database
This page took 0.080495 seconds and 4 git commands to generate.