Fixed rsync pattern functionload when quicksync mode enabled
This commit is contained in:
parent
cafa1347a4
commit
c8637adc38
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-pre
|
PROGRAM_VERSION=1.1-pre
|
||||||
PROGRAM_BUILD=2016020201
|
PROGRAM_BUILD=2016020202
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015122101
|
FUNC_BUILD=2015122101
|
||||||
|
@ -2194,7 +2194,9 @@ function Init {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Add Rsync include / exclude patterns
|
## Add Rsync include / exclude patterns
|
||||||
RsyncPatterns
|
if [ $_QUICK_SYNC -lt 2 ]; then
|
||||||
|
RsyncPatterns
|
||||||
|
fi
|
||||||
|
|
||||||
## Filenames for state files
|
## Filenames for state files
|
||||||
if [ $_DRYRUN -eq 1 ]; then
|
if [ $_DRYRUN -eq 1 ]; then
|
||||||
|
|
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-pre
|
PROGRAM_VERSION=1.1-pre
|
||||||
PROGRAM_BUILD=2016020201
|
PROGRAM_BUILD=2016020202
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
source "./ofunctions.sh"
|
source "./ofunctions.sh"
|
||||||
|
@ -1300,7 +1300,9 @@ function Init {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Add Rsync include / exclude patterns
|
## Add Rsync include / exclude patterns
|
||||||
RsyncPatterns
|
if [ $_QUICK_SYNC -lt 2 ]; then
|
||||||
|
RsyncPatterns
|
||||||
|
fi
|
||||||
|
|
||||||
## Filenames for state files
|
## Filenames for state files
|
||||||
if [ $_DRYRUN -eq 1 ]; then
|
if [ $_DRYRUN -eq 1 ]; then
|
||||||
|
|
6
osync.sh
6
osync.sh
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-pre
|
PROGRAM_VERSION=1.1-pre
|
||||||
PROGRAM_BUILD=2016020201
|
PROGRAM_BUILD=2016020202
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015122101
|
FUNC_BUILD=2015122101
|
||||||
|
@ -2059,7 +2059,9 @@ function Init {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Add Rsync include / exclude patterns
|
## Add Rsync include / exclude patterns
|
||||||
RsyncPatterns
|
if [ $_QUICK_SYNC -lt 2 ]; then
|
||||||
|
RsyncPatterns
|
||||||
|
fi
|
||||||
|
|
||||||
## Filenames for state files
|
## Filenames for state files
|
||||||
if [ $_DRYRUN -eq 1 ]; then
|
if [ $_DRYRUN -eq 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue