Date: Saturday, June 16, 2012 @ 20:42:45
  Author: dreisner
Revision: 161955

Export a sane PATH for the install scriptlet

Modified:
  linux-lts/trunk/linux-lts.install

-------------------+
 linux-lts.install |    3 +++
 1 file changed, 3 insertions(+)

Modified: linux-lts.install
===================================================================
--- linux-lts.install   2012-06-17 00:42:06 UTC (rev 161954)
+++ linux-lts.install   2012-06-17 00:42:45 UTC (rev 161955)
@@ -4,6 +4,9 @@
 KERNEL_NAME=-lts
 KERNEL_VERSION=3.0.34-1-lts
 
+# 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 ..."

Reply via email to