summaryrefslogtreecommitdiffstats
path: root/perl-install/drakxtools.spec
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 /perl-install/drakxtools.spec
parent98ea722fdf9b6243962054171007a1a2a678678a (diff)
downloaddrakx-25044651a562ff31c97862b07ab94ac88c407e01.tar
drakx-25044651a562ff31c97862b07ab94ac88c407e01.tar.gz
drakx-25044651a562ff31c97862b07ab94ac88c407e01.tar.bz2
drakx-25044651a562ff31c97862b07ab94ac88c407e01.tar.xz
drakx-25044651a562ff31c97862b07ab94ac88c407e01.zip
main subpackage lacked update-menus calls since net_applet menu entry
was added
Diffstat (limited to 'perl-install/drakxtools.spec')
-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