Fixed bypassing some taks for android
This commit is contained in:
parent
cd86eac828
commit
56dabb97c1
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
|||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=1.2-beta3
|
||||
PROGRAM_BUILD=2016111901
|
||||
PROGRAM_BUILD=2016111902
|
||||
IS_STABLE=no
|
||||
|
||||
# Execution order #__WITH_PARANOIA_DEBUG
|
||||
|
@ -841,7 +841,7 @@ function syncAttrs {
|
|||
local escDestDir
|
||||
local destReplica
|
||||
|
||||
if [ "$LOCAL_OS" == "BUSYBOX" ]; then
|
||||
if [ "$LOCAL_OS" == "BusyBox" ] || [ "$LOCAL_OS" == "Android" ] || [ "$REMOTE_OS" == "BusyBox" ] || [ "$REMOTE_OS" == "Android" ]; then
|
||||
Logger "Skipping acl synchronization. Busybox does not have join command." "NOTICE"
|
||||
return 0
|
||||
fi
|
||||
|
@ -1640,7 +1640,7 @@ function _SoftDeleteLocal {
|
|||
|
||||
local retval
|
||||
|
||||
if [ "$LOCAL_OS" == "BUSYBOX" ]; then
|
||||
if [ "$LOCAL_OS" == "Busybox" ] || [ "$LOCAL_OS" == "Android" ]; then
|
||||
Logger "Skipping $deletionType deletion on $replicaType. Busybox find -ctime not supported." "NOTICE"
|
||||
return 0
|
||||
fi
|
||||
|
@ -1689,7 +1689,7 @@ function _SoftDeleteRemote {
|
|||
|
||||
local retval
|
||||
|
||||
if [ "$REMOTE_OS" == "BUSYBOX" ]; then
|
||||
if [ "$REMOTE_OS" == "BusyBox" ] || [ "$REMOTE_OS" == "Android" ]; then
|
||||
Logger "Skipping $deletionType deletion on $replicaType. Busybox find -ctime not supported." "NOTICE"
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue