r3426 - trunk/kernel/source/linux-kernel-2.6.12/debian/templates

Jurij Smakov jurij-guest@costa.debian.org
Thu, 07 Jul 2005 02:49:33 +0000


Author: jurij-guest
Date: 2005-07-07 02:49:33 +0000 (Thu, 07 Jul 2005)
New Revision: 3426

Modified:
   trunk/kernel/source/linux-kernel-2.6.12/debian/templates/post-install.in
Log:
Remove the build and source symbolic links from
/lib/modules/${version}, as leaving them in 
generates scary warnings during the image
installation.


Modified: trunk/kernel/source/linux-kernel-2.6.12/debian/templates/post-install.in
===================================================================
--- trunk/kernel/source/linux-kernel-2.6.12/debian/templates/post-install.in	2005-07-05 15:35:35 UTC (rev 3425)
+++ trunk/kernel/source/linux-kernel-2.6.12/debian/templates/post-install.in	2005-07-07 02:49:33 UTC (rev 3426)
@@ -105,3 +105,12 @@
     fi
   done
 fi
+#
+# Clean up the build and source symlinks
+#
+if [ -L build ]; then
+  rm -f build
+fi
+if [ -L source ]; then
+  rm -f source
+fi