From ca14a50b17f949a4a25740bdf129ec9e55b055b2 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 8 Nov 2005 21:02:47 +0000 Subject: r1814: * Remove hardcoded pathc to update-modules and gconf-schemas in various script fragments. --- autoscripts/postinst-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/postinst-modules') diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index f2342da4..8d2c4cbc 100644 --- a/autoscripts/postinst-modules +++ b/autoscripts/postinst-modules @@ -1,3 +1,3 @@ -if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then +if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then update-modules >/dev/null || [ "$?" = 3 ] fi -- cgit v1.2.3