[packages/adapter: 587/631] install without options to cp -p
glen
glen at pld-linux.org
Mon Sep 12 20:23:38 CEST 2016
commit e63436d7e132ba39e09332b8430382af5315b98b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Mar 25 07:10:30 2014 +0000
install without options to cp -p
adapter.awk | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 04c7d19..738c25d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -497,6 +497,10 @@ function b_makekey(a, b, s) {
if (/^install/ && /-m[ \t]*[0-9]+/)
gsub(/-m[ \t]*[0-9]+ /, "")
+ # install without options -> cp -p
+ if (/^install [^-]/)
+ gsub(/^install/, "cp -p")
+
# No lines contain 'chown' or 'chgrp' if owner/group is 'root'
if (($1 ~ /chown/ && $2 ~ /root\.root/) || ($1 ~ /chgrp/ && $2 ~ /root/))
next
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list