[packages/adapter: 162/631] - kill "install -m\s*\d+"

glen glen at pld-linux.org
Mon Sep 12 19:48:02 CEST 2016


commit 2016aa83ca911e6a6828faf79155ec10a4488d1d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Apr 16 22:35:54 2005 +0000

    - kill "install -m\s*\d+"
    
    Changed files:
        adapter.awk -> 1.157

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index cfc98ab..9db1090 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -261,8 +261,8 @@ defattr == 1 {
 	if (/^install/ && /-[ug][ \t]*root/)
 		gsub(/-[ug][ \t]*root /, "")
 
-	if (/^install/ && /-m[ \t]*644/)
-		gsub(/-m[ \t]*644 /, "")
+	if (/^install/ && /-m[ \t]*[0-9]+/)
+		gsub(/-m[ \t]*[0-9]+ /, "")
 
 	# No lines contain 'chown' or 'chgrp' if owner/group is 'root'
 	if (($1 ~ /chown/ && $2 ~ /root\.root/) || ($1 ~ /chgrp/ && $2 ~ /root/))
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list