From f3c1303fc8639b885441cd9227664f4fcbbb9787 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Fri, 5 Aug 2005 13:56:27 +0000
Subject: [PATCH] INTEGRATION: CWS sysui10 (1.7.4); FILE MERGED 2005/08/02
06:08:34 obr 1.7.4.1: #i52018# added -q parameter to update-desktop-database
calls
---
sysui/desktop/freedesktop/freedesktop-menus.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec
index f1b02b7104ed..450cedd7ac9b 100644
--- a/sysui/desktop/freedesktop/freedesktop-menus.spec
+++ b/sysui/desktop/freedesktop/freedesktop-menus.spec
@@ -101,7 +101,7 @@ ln -snf \$coreprefix /etc/%unixfilename
# needed here as as well since execution of this one is delayed, the link is
# not intact when the other triggers are run before this one
if (which update-desktop-database); then
- update-desktop-database /usr/share/applications
+ update-desktop-database -q /usr/share/applications
fi
rm -f /tmp/install.$$
EOF
@@ -120,7 +120,7 @@ EOF
# http://rhn.redhat.com/errata/RHBA-2004-098.html
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=100509
if (which update-desktop-database); then
- update-desktop-database /usr/share/applications
+ update-desktop-database -q /usr/share/applications
fi
%triggerun -- openofficeorg-writer, openofficeorg-calc, openofficeorg-draw, openofficeorg-impress, openofficeorg-math
@@ -131,7 +131,7 @@ fi
if [ "$2" = "0" ] ; then
# the triggering package gets removed
if (which update-desktop-database); then
- update-desktop-database /usr/share/applications
+ update-desktop-database -q /usr/share/applications
fi
fi
@@ -276,7 +276,7 @@ fi
%postun
if [ "$1" = 0 ] ; then # only run when erasing the package - other cases handled by the triggers
if (which update-desktop-database); then
- update-desktop-database /usr/share/applications
+ update-desktop-database -q /usr/share/applications
fi
fi
# run always - both when upgrading as well as when erasing the package