Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Commit 545a00a

Browse files
committed
moving "progress level" for xprivacy details up one notch
1 parent 9d1800b commit 545a00a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/pull_config.lib

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,24 @@ getXPrivacy() {
9898
newsize=(${newsizestr//[$'\r']})
9999
if [[ $newsize -eq 0 ]]; then
100100
sleepcount+=1
101-
doProgress " + export started, file still empty\r" 4 n
101+
doProgress " + export started, file still empty\r" 3 n
102102
nobreak=1
103103
elif [[ $newsize -eq $oldsize ]]; then # not growing anymore
104-
doProgress " + export seems complete, final size: ${newsize} bytes" 4
104+
doProgress " + export seems complete, final size: ${newsize} bytes" 3
105105
nobreak=0
106106
break
107107
else
108108
oldsize=$newsize
109-
doProgress " + export running, current size: ${newsize} bytes\r" 4 n
109+
doProgress " + export running, current size: ${newsize} bytes\r" 3 n
110110
nobreak=1
111111
fi
112112
else
113113
sleepcount+=1
114-
doProgress " + Loop ${sleepcount}, file not yet there\r" 4 n
114+
doProgress " + Loop ${sleepcount}, file not yet there\r" 3 n
115115
nobreak=1
116116
fi
117117
done
118-
[[ $nobreak -ne 0 ]] && doProgress "" 4
118+
[[ $nobreak -ne 0 ]] && doProgress "" 3
119119
if [[ -n "$(adb ${ADBOPTS} shell ls ${filename%/*}/ | grep ${filename##*/})" ]]; then
120120
sleep 2 # just another safeguard to ensure export is complete
121121
local msg="$((adb ${ADBOPTS} pull ${filename} "${CONFDIR}/xprivacy.xml") 2>&1)"

0 commit comments

Comments
 (0)