File: 0001-Add-usr-libexec-parsyncfp2-to-PATH.patch

package info (click to toggle)
parsyncfp2 2.59%2Bgit20250602.e687b9f-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: perl: 6,304; sh: 22; makefile: 12
file content (24 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Lucas Nussbaum <lucas@debian.org>
Date: Mon, 13 Nov 2023 23:40:06 +0100
Subject: Add /usr/libexec/parsyncfp2 to PATH

Forwarded: not-needed (Debian specific, this is only needed because we hide scut and stats in /usr/libexec)
---
 parsyncfp2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/parsyncfp2 b/parsyncfp2
index 86a040d..77cfe14 100755
--- a/parsyncfp2
+++ b/parsyncfp2
@@ -9,7 +9,9 @@
 # If not it is available at the parsyncfp github site:
 #      https://github.com/hjmangalam/parsyncfp
 
-
+# Change $PATH to include /usr/libexec/parsyncfp2, since the Debian package
+# ships scut and stats there
+$ENV{PATH} = "/usr/libexec/parsyncfp2:$ENV{PATH}";
 
 ##: == COMMON TO MASTER & SEND hosts ==
 ##: Lib Requirements