[pipelight] improved pipelight-0.2.7.1_use-cp-a.patch to use `cp -af`

Björn Esser besser82 at fedoraproject.org
Thu Jul 10 08:46:23 UTC 2014


commit f25324dcbb1d0da2440f558c92ac9285685e1516
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Thu Jul 10 10:43:03 2014 +0200

    improved pipelight-0.2.7.1_use-cp-a.patch to use `cp -af`

 pipelight-0.2.7.1_use-cp-a.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pipelight-0.2.7.1_use-cp-a.patch b/pipelight-0.2.7.1_use-cp-a.patch
index 5ea1705..b62a96e 100644
--- a/pipelight-0.2.7.1_use-cp-a.patch
+++ b/pipelight-0.2.7.1_use-cp-a.patch
@@ -7,7 +7,7 @@ Index: mmueller2012-pipelight-e2362eb15df6/bin/pipelight-plugin.in
  		fi
  
 -		if ! install -m 0644 "$src" "$dst" 2>/dev/null; then
-+		if ! cp -a "$src" "$dst" 2>/dev/null; then
++		if ! cp -af "$src" "$dst" 2>/dev/null; then
  			echo "ERROR: failed to create copy of $src at $dst" >&2
  			echo "ERROR: are you running this program with root rights?" >&2
  			return 1


More information about the scm-commits mailing list