[kup] 07/18: Fix disparity between config/docs and kup-server

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Apr 9 02:47:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kup.

commit 3e11ed09a9c4a063b65b9b73de761aaf27f8e6f7
Author: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
Date:   Tue Mar 28 12:03:17 2017 -0400

    Fix disparity between config/docs and kup-server
    
    It should be compress_command and decompress_command everywhere.
    
    Signed-off-by: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
---
 kup-server | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kup-server b/kup-server
index 5c7f40d..8ecf167 100755
--- a/kup-server
+++ b/kup-server
@@ -139,12 +139,12 @@ if (defined($cfg->param('compressors.use'))) {
 		# Do we have a path defined?
 		if (!defined($cfg->param("compressors.${zformat}"))) {
 			# Do we have a section with compress/decompress commands?
-			if (!defined($cfg->param("${zformat}.compress_cmd"))) {
+			if (!defined($cfg->param("${zformat}.compress_command"))) {
 				fatal("Compressor ${zformat} requested, but commands not specified.");
 			}
 			$zformats{$ext} = {
-				'compress'   => $cfg->param("${zformat}.compress_cmd"),
-				'decompress' => $cfg->param("${zformat}.decompress_cmd"),
+				'compress'   => $cfg->param("${zformat}.compress_command"),
+				'decompress' => $cfg->param("${zformat}.decompress_command"),
 			}
         } else {
 			# We have old-style definition, so just add -9 and -cd to it

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kup.git



More information about the Kernel-svn-changes mailing list