[packages/filesystem] - tabs

glen glen at pld-linux.org
Thu Oct 25 23:45:57 CEST 2012


commit aa2719be25f4fd1c1aa0a3d3825263a18ec2729c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 26 00:45:55 2012 +0300

    - tabs

 filesystem.spec | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/filesystem.spec b/filesystem.spec
index 9e655bb..091fd47 100644
--- a/filesystem.spec
+++ b/filesystem.spec
@@ -136,17 +136,17 @@ check_filesystem_dirs
 %pretrans -p <lua>
 -- this needs to be a dir
 if posix.stat("/usr/include/X11", "type") == "link" then
-        posix.umask("0755");
-        os.rename("/usr/include/X11", "/usr/include/X11.rpmsave")
-        posix.mkdir("/usr")
-        posix.mkdir("/usr/include")
-        posix.mkdir("/usr/include/X11")
-        oldpwd = posix.getcwd()
-        posix.chdir("/usr/include/X11.rpmsave")
-        for i,j in pairs(posix.glob("*")) do
-                os.rename(j, "/usr/include/X11/" .. j)
-        end
-        posix.chdir(oldpwd)
+	posix.umask("0755");
+	os.rename("/usr/include/X11", "/usr/include/X11.rpmsave")
+	posix.mkdir("/usr")
+	posix.mkdir("/usr/include")
+	posix.mkdir("/usr/include/X11")
+	oldpwd = posix.getcwd()
+	posix.chdir("/usr/include/X11.rpmsave")
+	for i,j in pairs(posix.glob("*")) do
+		os.rename(j, "/usr/include/X11/" .. j)
+	end
+	posix.chdir(oldpwd)
 end
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/filesystem.git/commitdiff/aa2719be25f4fd1c1aa0a3d3825263a18ec2729c



More information about the pld-cvs-commit mailing list