update-binary: Fix compat with different unzip tools
* For some bizarre reason, the unzip util included with lineage recovery doesn't work with the system/* wildcard for unzip, so just extract the entire zip and remove the META-INF folder from /tmp manually Change-Id: Id11e18d7fef0c78b10f7060a10274ea0e958ea84 Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
This commit is contained in:
parent
0a3ad4c143
commit
2d7e0eb47c
@ -58,7 +58,8 @@ MEM=`cat /proc/meminfo | head -1 | sed 's/[^0-9]*//g'`
|
||||
|
||||
ui_print "Extracting files"
|
||||
cd /tmp
|
||||
unzip -o "$ZIP" system/*
|
||||
unzip -o "$ZIP"
|
||||
exec_util "rm -rf META-INF"
|
||||
cd system
|
||||
if [ "$MEM" -lt "$LOWMEM" ]; then
|
||||
ui_print "Low RAM device detected, removing Google SuW"
|
||||
|
Loading…
Reference in New Issue
Block a user