3 Aug
2007
3 Aug
'07
12:26 a.m.
On 8/2/07, Travis Willard <travis@archlinux.org> wrote:
Along those lines, what about functions that reference a global variable inside the PKGBUILD? like:
__KERNEL_VERSION=2.6.12
post_install() { depmod -v $__KERNEL_VERSION > /dev/null 2>&1 }
I could see that specifically happening in kernel modules (which is where a lot of the .install file sed-ding happens, and why I remembered). If those variables aren't there in the .INSTALL file, then what?
Oh good point, I didn't think that far ahead. if that's the case, then we have two options: a) this patch doesn't force usage one way or the other, it just _allows_ things to be inline. Kernel modules can still be kept external b) Alessio, can you think of a way to overcome this issue?