From 204850258cc0a97ca02d421ffc8f130c601886e1 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 30 Aug 2006 16:54:40 +0000 Subject: - update-menus doesn't do anything if DURING_INSTALL is set to 1 --- desktop-common-data.spec | 5 ++++- menu/update-menus | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/desktop-common-data.spec b/desktop-common-data.spec index e09fdf1..223053d 100644 --- a/desktop-common-data.spec +++ b/desktop-common-data.spec @@ -3,7 +3,7 @@ Summary: Desktop common files Name: desktop-common-data Version: 2007 -Release: %mkrel 8 +Release: %mkrel 9 License: GPL URL: http://www.mandrivalinux.com/ Group: System/Configuration/Other @@ -192,6 +192,9 @@ rm -fr %buildroot %changelog +* Wed Aug 30 2006 Frederic Crozat 2007-9mdv2007.0 +- update-menus doesn't do anything if DURING_INSTALL is set to 1 + * Wed Aug 30 2006 Frederic Crozat 2007-8mdv2007.0 - Add missing directory file for adventure (Mdv bug #24829) - Add empty menu nodes for KDE in discovery menu diff --git a/menu/update-menus b/menu/update-menus index c03fde5..7baeb12 100755 --- a/menu/update-menus +++ b/menu/update-menus @@ -12,6 +12,10 @@ exit 0 VERBOSE=0 +if [ "$DURING_INSTALL" = "1" ]; then + exit 0 +fi + if [ "$UID" == "0" ]; then USER_MENU=0 else -- cgit v1.2.1