From e8b9fc5324e8c645d0c18d165e4b7f7bc94c8242 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 10 Jun 2001 19:25:01 +0000 Subject: r477: * Check that update-modules is present before running it, since modutils is not essential. Closes: #100430 --- autoscripts/postrm-menu-method | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/postrm-menu-method') diff --git a/autoscripts/postrm-menu-method b/autoscripts/postrm-menu-method index 3e63f2f4..2e0faed7 100644 --- a/autoscripts/postrm-menu-method +++ b/autoscripts/postrm-menu-method @@ -1,3 +1,3 @@ inst=/etc/menu-methods/#PACKAGE# if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi -if [ -x /usr/bin/update-menus ] ; then update-menus; fi +if [ -x /usr/bin/update-menus ]; then update-menus; fi -- cgit v1.2.3