aboutsummaryrefslogtreecommitdiffstats
path: root/main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-01-30 10:47:20 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-01-30 10:48:09 +0200
commitb5baa711a9758d453cb33a6e23de7163e5b40c66 (patch)
tree03badc06fed2e9b8b94210ec3bb26e97be2e9c09 /main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch
parent6f0559e6f3b1e5e7de0f8d28816971941809324d (diff)
downloadaports-b5baa711a9758d453cb33a6e23de7163e5b40c66.tar.bz2
aports-b5baa711a9758d453cb33a6e23de7163e5b40c66.tar.xz
main/lsyncd: additional fixes to lpostcmd
Diffstat (limited to 'main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch')
-rw-r--r--main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch b/main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch
new file mode 100644
index 0000000000..27f921a93d
--- /dev/null
+++ b/main/lsyncd/0002-Fix-lpostcmd-prepare-to-work-with-recent-changes.patch
@@ -0,0 +1,34 @@
+From 5b76dc1cb6cacd5a086dc3870e39ab2d251ed5dc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Date: Fri, 30 Jan 2015 09:12:02 +0200
+Subject: [PATCH 2/3] Fix lpostcmd prepare to work with recent changes
+
+---
+ examples/lpostcmd.lua | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/examples/lpostcmd.lua b/examples/lpostcmd.lua
+index 11f7faf..8ad339e 100644
+--- a/examples/lpostcmd.lua
++++ b/examples/lpostcmd.lua
+@@ -62,7 +62,7 @@ local rsyncpostcmd = {
+
+ -- called before anything else
+ -- builds the target from host and targetdir
+- prepare = function(config)
++ prepare = function(config, level, skipTarget)
+ if not config.host then
+ error("rsyncpostcmd neets 'host' configured", 4)
+ end
+@@ -72,7 +72,7 @@ local rsyncpostcmd = {
+ if not config.target then
+ config.target = config.host .. ":" .. config.targetdir
+ end
+- return default.rsync.prepare(config)
++ return default.rsync.prepare(config, level, skipTarget)
+ end
+ }
+
+--
+2.2.2
+