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.
This commit is contained in:
parent
da0ccee110
commit
4b5cf30418
|
@ -4,6 +4,9 @@
|
||||||
KERNEL_NAME=
|
KERNEL_NAME=
|
||||||
KERNEL_VERSION=3.4.2-2-ARCH
|
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 () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
echo ">>> Updating module dependencies. Please wait ..."
|
echo ">>> Updating module dependencies. Please wait ..."
|
||||||
|
|
Loading…
Reference in New Issue