[packages/adapter: 351/631] - don't set default %dir perms

glen glen at pld-linux.org
Mon Sep 12 20:03:52 CEST 2016


commit a6d04013c720386226a12e960d7ce72b5f46503a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 5 06:39:58 2006 +0000

    - don't set default %dir perms
    
    Changed files:
        adapter.awk -> 1.338

 adapter.awk | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/adapter.awk b/adapter.awk
index 0e53498..4dc57fd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1423,6 +1423,7 @@ function use_files_macros(	i, n, t, a)
 
     # kill default attrs
     gsub(/%dir %attr\(755,root,root\)/, "%dir");
+    gsub(/%attr\(755,root,root\) %dir/, "%dir");
     if (!/%dir/) {
         gsub(/%attr\(644,root,root\) /, "");
     }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list