From 25044651a562ff31c97862b07ab94ac88c407e01 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 19 May 2005 03:53:42 +0000 Subject: main subpackage lacked update-menus calls since net_applet menu entry was added --- perl-install/drakxtools.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec index 5725a447f..4b3f0ba90 100644 --- a/perl-install/drakxtools.spec +++ b/perl-install/drakxtools.spec @@ -276,12 +276,14 @@ cat libDrakX.lang >> %name.list rm -rf $RPM_BUILD_ROOT %post +%update_menus [[ ! -e %_sbindir/kbdconfig ]] && %__ln_s -f keyboarddrake %_sbindir/kbdconfig [[ ! -e %_sbindir/mouseconfig ]] && %__ln_s -f mousedrake %_sbindir/mouseconfig [[ ! -e %_bindir/printtool ]] && %__ln_s -f ../sbin/printerdrake %_bindir/printtool : %postun +%clean_menus for i in %_sbindir/kbdconfig %_sbindir/mouseconfig %_bindir/printtool;do [[ -L $i ]] && %__rm -f $i done -- cgit v1.2.1