diff options
| author | unknown <unknown> | 2003-07-28 18:44:06 +0000 |
|---|---|---|
| committer | unknown <unknown> | 2003-07-28 18:44:06 +0000 |
| commit | 5a87b142efb3b9a8b45f6900962fb810367132ac (patch) | |
| tree | 1a797e870329ed02d995e19e69fecde394d2c272 /autoscripts/postrm-menu-method | |
| parent | d579dae0cf159c50dcd902ff4a35590f7dcff395 (diff) | |
| parent | 63e45075003b1d9fcff097b5644a81131c346653 (diff) | |
| download | debhelper-version_2.0.29.tar.gz | |
r724: This commit was manufactured by cvs2svn to create tagversion_2.0.29
'debian_version_2_0_29'.
Diffstat (limited to 'autoscripts/postrm-menu-method')
| -rw-r--r-- | autoscripts/postrm-menu-method | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postrm-menu-method b/autoscripts/postrm-menu-method index ffa1e486..3270b7c7 100644 --- a/autoscripts/postrm-menu-method +++ b/autoscripts/postrm-menu-method @@ -1,3 +1,3 @@ inst=/etc/menu-methods/#PACKAGE# -if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi -if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi +if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi +if test -x /usr/bin/update-menus ; then update-menus; fi |
