[Lunar-commits] CVS: moonbase/libs/glibc POST_INSTALL,1.2,1.3
Jaime Buffery
nestu at lunar-linux.org
Thu Feb 26 20:00:25 GMT 2004
Update of /var/cvs/lunar/moonbase/libs/glibc
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22079
Modified Files:
POST_INSTALL
Log Message:
If kernel-headers-2.6 is installed, do not install the headers generated in BUILD
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/glibc/POST_INSTALL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- POST_INSTALL 17 Oct 2003 20:53:31 -0000 1.2
+++ POST_INSTALL 26 Feb 2004 20:00:22 -0000 1.3
@@ -1,8 +1,10 @@
# Install the kernel headers which we created in BUILD
-if [ -e /tmp/lunar-kernel-header-install ] ; then
- mv /var/lock/installing.glibc /var/lock/installing.$$
- lin -c kernel-headers
- mv /var/lock/installing.$$ /var/lock/installing.glibc
- rm -f /tmp/lunar-kernel-header-install
-fi
+if ! module_installed kernel-headers-2.6 ; then
+ if [ -e /tmp/lunar-kernel-header-install ] ; then
+ mv /var/lock/installing.glibc /var/lock/installing.$$
+ lin -c kernel-headers
+ mv /var/lock/installing.$$ /var/lock/installing.glibc
+ rm -f /tmp/lunar-kernel-header-install
+ fi
+fi
\ No newline at end of file
More information about the Lunar-commits
mailing list