From 4b5cf30418db8d88908b0c960ebbce470e8d6c55 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jun 2012 00:42:06 +0000 Subject: [PATCH] set a sane PATH for the install scriptlet Hopefully this prevents people from shooting themselves in the face when they, or something else, decides that /sbin doesn't belong here. --- linux.install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux.install b/linux.install index ba91d5a..9b62cb5 100644 --- a/linux.install +++ b/linux.install @@ -4,6 +4,9 @@ KERNEL_NAME= KERNEL_VERSION=3.4.2-2-ARCH +# set a sane PATH to ensure that critical utils like depmod will be found +export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' + post_install () { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..."