From 30c88daaf2c726f04e19d869eb6b07f3ff0c6589 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 14 Mar 2017 22:18:15 +0100 Subject: [PATCH] Removed gzip --rsyncable option for MacOS --- dev/ofunctions.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index b3d989e..0bc6d95 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -3,7 +3,7 @@ #### OFUNCTIONS MINI SUBSET #### _OFUNCTIONS_VERSION=2.1-RC3+dev -_OFUNCTIONS_BUILD=2017031301 +_OFUNCTIONS_BUILD=2017031401 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -1652,13 +1652,17 @@ function SetCompression { COMPRESSION_PROGRAM="| pigz -c$compressionString" COMPRESSION_EXTENSION=.gz # obackup specific - COMPRESSION_OPTIONS=--rsyncable + if [ "$LOCAL_OS" != "MacOSX" ]; then + COMPRESSION_OPTIONS=--rsyncable + fi elif type gzip > /dev/null 2>&1 then COMPRESSION_PROGRAM="| gzip -c$compressionString" COMPRESSION_EXTENSION=.gz # obackup specific - COMPRESSION_OPTIONS=--rsyncable + if [ "$LOCAL_OS" != "MacOSX" ]; then + COMPRESSION_OPTIONS=--rsyncable + fi else COMPRESSION_PROGRAM= COMPRESSION_EXTENSION=