packages: filesystem/filesystem.spec - do not convert symlink on ac

glen glen at pld-linux.org
Mon Feb 22 20:42:03 CET 2010


Author: glen                         Date: Mon Feb 22 19:42:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not convert symlink on ac

---- Files affected:
packages/filesystem:
   filesystem.spec (1.109 -> 1.110) 

---- Diffs:

================================================================
Index: packages/filesystem/filesystem.spec
diff -u packages/filesystem/filesystem.spec:1.109 packages/filesystem/filesystem.spec:1.110
--- packages/filesystem/filesystem.spec:1.109	Mon Feb 22 20:40:29 2010
+++ packages/filesystem/filesystem.spec	Mon Feb 22 20:41:58 2010
@@ -128,10 +128,12 @@
 
 check_filesystem_dirs
 
+%if "%{pld_release}" != "ac"
 %pretrans -p <lua>
 -- this needs to be a dir
 -- feel free to write in pure lua, but success on first install is not important.
 os.execute("if [ -L /usr/include/X11 ]; then umask 022; mv -f /usr/include/X11{,.rpmsave}; mkdir -m755 -p /usr/include/X11 && mv -f /usr/include/X11.rpmsave/* /usr/include/X11; fi")
+%endif
 
 %files
 %defattr(644,root,root,755)
@@ -216,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.110  2010/02/22 19:41:58  glen
+- do not convert symlink on ac
+
 Revision 1.109  2010/02/22 19:40:29  glen
 - discard /usr/include/X11 symlink
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/filesystem/filesystem.spec?r1=1.109&r2=1.110&f=u



More information about the pld-cvs-commit mailing list