SPECS (LINUX_2_6_16): kernel.spec - fixed /usr/src/linux symlink d...

hawk hawk at pld-linux.org
Tue Jan 23 11:20:15 CET 2007


Author: hawk                         Date: Tue Jan 23 10:20:15 2007 GMT
Module: SPECS                         Tag: LINUX_2_6_16
---- Log message:
- fixed /usr/src/linux symlink disappearing

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1558.2.62 -> 1.441.2.1558.2.63) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1558.2.62 SPECS/kernel.spec:1.441.2.1558.2.63
--- SPECS/kernel.spec:1.441.2.1558.2.62	Sun Jan 21 18:52:34 2007
+++ SPECS/kernel.spec	Tue Jan 23 11:20:09 2007
@@ -1405,9 +1405,8 @@
 %postun headers
 if [ "$1" = "0" ]; then
 	if [ -L %{_prefix}/src/linux ]; then
-		# FIXME: shouldn't here be 'linux%{_subname}' ?
-		if [ "$(readlink %{_prefix}/src/linux)" = "linux-%{version}" ]; then
-			rm -f %{_prefix}/src/linux
+		if [ "$(readlink %{_prefix}/src/linux%{_subname})" = "linux%{_subname}-%{version}" ]; then
+			rm -f %{_prefix}/src/linux%{_subname}
 		fi
 	fi
 fi
@@ -1726,6 +1725,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1558.2.63  2007/01/23 10:20:09  hawk
+- fixed /usr/src/linux symlink disappearing
+
 Revision 1.441.2.1558.2.62  2007/01/21 17:52:34  hawk
 - updated to 2.6.16.38
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1558.2.62&r2=1.441.2.1558.2.63&f=u



More information about the pld-cvs-commit mailing list