summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:53:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:53:42 +0000
commit25044651a562ff31c97862b07ab94ac88c407e01 (patch)
tree398175fd3113e7896b72d6fccf74cfedb060ae0a
parent98ea722fdf9b6243962054171007a1a2a678678a (diff)
downloaddrakx-backup-do-not-use-25044651a562ff31c97862b07ab94ac88c407e01.tar
drakx-backup-do-not-use-25044651a562ff31c97862b07ab94ac88c407e01.tar.gz
drakx-backup-do-not-use-25044651a562ff31c97862b07ab94ac88c407e01.tar.bz2
drakx-backup-do-not-use-25044651a562ff31c97862b07ab94ac88c407e01.tar.xz
drakx-backup-do-not-use-25044651a562ff31c97862b07ab94ac88c407e01.zip
main subpackage lacked update-menus calls since net_applet menu entry
was added
-rw-r--r--perl-install/drakxtools.spec2
1 files changed, 2 insertions, 0 deletions
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