mirror of
https://github.com/deajan/obackup.git
synced 2024-12-25 15:03:41 +01:00
Update ofunctions from osync project
This commit is contained in:
parent
6f51b472c5
commit
67ecf9ea0a
@ -2,8 +2,8 @@
|
|||||||
#### OFUNCTIONS FULL SUBSET ####
|
#### OFUNCTIONS FULL SUBSET ####
|
||||||
#### OFUNCTIONS MINI SUBSET ####
|
#### OFUNCTIONS MINI SUBSET ####
|
||||||
|
|
||||||
_OFUNCTIONS_VERSION=2.1-RC3+dev
|
_OFUNCTIONS_VERSION=2.1
|
||||||
_OFUNCTIONS_BUILD=2017031401
|
_OFUNCTIONS_BUILD=2017032301
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
||||||
_OFUNCTIONS_BOOTSTRAP=true
|
_OFUNCTIONS_BOOTSTRAP=true
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
||||||
@ -1125,7 +1125,7 @@ function GetLocalOS {
|
|||||||
*"BSD"*)
|
*"BSD"*)
|
||||||
LOCAL_OS="BSD"
|
LOCAL_OS="BSD"
|
||||||
;;
|
;;
|
||||||
*"MINGW32"*|*"MSYS"*)
|
*"MINGW32"*|*"MINGW64"*|*"MSYS"*)
|
||||||
LOCAL_OS="msys"
|
LOCAL_OS="msys"
|
||||||
;;
|
;;
|
||||||
*"CYGWIN"*)
|
*"CYGWIN"*)
|
||||||
@ -1226,7 +1226,7 @@ ENDSSH
|
|||||||
*"BSD"*)
|
*"BSD"*)
|
||||||
REMOTE_OS="BSD"
|
REMOTE_OS="BSD"
|
||||||
;;
|
;;
|
||||||
*"MINGW32"*|*"MSYS"*)
|
*"MINGW32"*|*"MINGW64"*|*"MSYS"*)
|
||||||
REMOTE_OS="msys"
|
REMOTE_OS="msys"
|
||||||
;;
|
;;
|
||||||
*"CYGWIN"*)
|
*"CYGWIN"*)
|
||||||
@ -1652,17 +1652,13 @@ function SetCompression {
|
|||||||
COMPRESSION_PROGRAM="| pigz -c$compressionString"
|
COMPRESSION_PROGRAM="| pigz -c$compressionString"
|
||||||
COMPRESSION_EXTENSION=.gz
|
COMPRESSION_EXTENSION=.gz
|
||||||
# obackup specific
|
# obackup specific
|
||||||
if [ "$LOCAL_OS" != "MacOSX" ]; then
|
COMPRESSION_OPTIONS=--rsyncable
|
||||||
COMPRESSION_OPTIONS=--rsyncable
|
|
||||||
fi
|
|
||||||
elif type gzip > /dev/null 2>&1
|
elif type gzip > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
COMPRESSION_PROGRAM="| gzip -c$compressionString"
|
COMPRESSION_PROGRAM="| gzip -c$compressionString"
|
||||||
COMPRESSION_EXTENSION=.gz
|
COMPRESSION_EXTENSION=.gz
|
||||||
# obackup specific
|
# obackup specific
|
||||||
if [ "$LOCAL_OS" != "MacOSX" ]; then
|
COMPRESSION_OPTIONS=--rsyncable
|
||||||
COMPRESSION_OPTIONS=--rsyncable
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
COMPRESSION_PROGRAM=
|
COMPRESSION_PROGRAM=
|
||||||
COMPRESSION_EXTENSION=
|
COMPRESSION_EXTENSION=
|
||||||
|
Loading…
Reference in New Issue
Block a user