|
|
@ -31,8 +31,8 @@
|
|
|
|
#### OFUNCTIONS FULL SUBSET ####
|
|
|
|
#### OFUNCTIONS FULL SUBSET ####
|
|
|
|
#### OFUNCTIONS MINI SUBSET ####
|
|
|
|
#### OFUNCTIONS MINI SUBSET ####
|
|
|
|
#### OFUNCTIONS MICRO SUBSET ####
|
|
|
|
#### OFUNCTIONS MICRO SUBSET ####
|
|
|
|
_OFUNCTIONS_VERSION=2.5.0
|
|
|
|
_OFUNCTIONS_VERSION=2.5.1
|
|
|
|
_OFUNCTIONS_BUILD=2023061001
|
|
|
|
_OFUNCTIONS_BUILD=2023061401
|
|
|
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
|
|
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
|
|
|
_OFUNCTIONS_BOOTSTRAP=true
|
|
|
|
_OFUNCTIONS_BOOTSTRAP=true
|
|
|
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
|
|
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
|
|
@ -2275,6 +2275,13 @@ function InitRemoteOSDependingSettings {
|
|
|
|
|
|
|
|
|
|
|
|
## Set rsync default arguments (complete with -r or -d depending on recursivity later)
|
|
|
|
## Set rsync default arguments (complete with -r or -d depending on recursivity later)
|
|
|
|
RSYNC_DEFAULT_ARGS="-ltD -8"
|
|
|
|
RSYNC_DEFAULT_ARGS="-ltD -8"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## NPF-MOD: Regarding #242, we need to add --old-args if rsync > 3.2.3
|
|
|
|
|
|
|
|
rsync_version=$("${RSYNC_EXECUTABLE}" --version 2>/dev/null| head -1 | awk '{print $3}')
|
|
|
|
|
|
|
|
if [ $(Vercomp $rsync_version 3.2.3) -eq 1 ]; then
|
|
|
|
|
|
|
|
RSYNC_DEFAULT_ARGS="$RSYNC_DEFAULT_ARGS --old-args"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$_DRYRUN" == true ]; then
|
|
|
|
if [ "$_DRYRUN" == true ]; then
|
|
|
|
RSYNC_DRY_ARG="-n"
|
|
|
|
RSYNC_DRY_ARG="-n"
|
|
|
|
DRY_WARNING="/!\ DRY RUN "
|
|
|
|
DRY_WARNING="/!\ DRY RUN "
|
|
|
@ -2282,6 +2289,7 @@ function InitRemoteOSDependingSettings {
|
|
|
|
RSYNC_DRY_ARG=""
|
|
|
|
RSYNC_DRY_ARG=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RSYNC_ATTR_ARGS=""
|
|
|
|
RSYNC_ATTR_ARGS=""
|
|
|
|
if [ "$PRESERVE_PERMISSIONS" != false ]; then
|
|
|
|
if [ "$PRESERVE_PERMISSIONS" != false ]; then
|
|
|
|
RSYNC_ATTR_ARGS=$RSYNC_ATTR_ARGS" -p"
|
|
|
|
RSYNC_ATTR_ARGS=$RSYNC_ATTR_ARGS" -p"
|
|
|
|